Hi,
First, I'm new in MDX so forgive if my question is nobish. I wonder if it is possible to use leaves() and filter function at the same time. So far I can't make it work. I have something like this
SCOPE (leaves(),[Measures].[Min Check Delay]);
this =iif([Measures].[Max Check Delay]>=0,[Measures].[Max Check Delay],null);
END SCOPE;
Is it possible to move the if condition to scope mdx? Something like this
SCOPE (filter(leaves(),[Measures].[Min Check Delay],[Measures].[Max Check Delay]>0));this =[Measures].[Max Check Delay];
END SCOPE;
I know that the second doesn't work, but is it possible to build something like that?
Thanks in advance
Rafael
Rafal