I want to filter the data on the measure and dimension at a time
case
when [measure].[frequency] >3 and [poa].[segment].&A then 'red'
when [measure].[frequency] <3 and [poa].[segment].&A then 'yellow'
when [measure].[frequency] =3 and [poa].[segment].&A then 'Green'
else 'NA' end
these the script i have written in the calculated member .. but it is not running successfully.Kindly help us
Do you need to put a currentMember comparison in the case?
I guess this would work ok?
Although do you have to use 'NA'? Can you not use
null
in this situation?The other section of you calc looks like it needs to compare
[poa].[segment].&A
against something using theIS
operator like this:So adding this into the
case
statement: