My problem :
I must return only one measure (measures.a) in my columns set and the formula of this calculated measure depends on the current member of the rows set (actually, the current member of {set1}) :
select
{measures.a} on 0,
{crossjoin({set1},{set2})} on 1
from MyCube
The easiest way...
Hi,
I just cannot find the correct syntax... The idea is to replace several iif() by something like that :
with
member measures.test as
'case commercial.currentmember.level.ordinal
when 1 then measures.quantity
when 2 then measures.sales
else measures.budget
end'
select...
Hi,
I just cannot find the correct syntax... The idea is to replace several iif() by something like that :
with
member measures.test as
'case commercial.currentmember.level.ordinal
when 1 then measures.quantity
when 2 then measures.sales
else measures.budget
end'
select...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.