hi, i have this measure that depends on the field view_limit_quantity_daily is defined or not.
If the field is defined i get the field. But if the field is null I need to get a default value stored in the DB in other table without relation with my table.
The default value and the field are numbers
here the measure:
measure: customer_viewLimitQuantityDaily{
type: sum
sql: CASE
WHEN ${view_limit_quantity_daily} is null THEN ?????
ELSE ${view_limit_quantity_daily}
END ;;
}
What i must do? what i have to put in the ????? place?
Thanks
BR
Best answer by JMJ
View original