Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi the set analysis expression is working fine with the default state but it’s giving unexpected results with Alternate states
I have Alternate State of “Group1”how to incorporate the Alternate state to the below expression. Thanks
=Num((sum({1<[ Year]=P({$}[Year]),Product={'Shippers'}>}[Gross Sale])/
sum({1<[ Year]=P({$}[Year]), Product={ Shippers'}>}[Gross Revenue])-1),'#.# %')
You want this expression to be driven just by the alternate state only? Try this:
=Num((sum({[Group1]<[ Year]=P({[Group1]}[Year]),Product={'Shippers'}>}[Gross Sale])/
sum({[Group1]<[ Year]=P({[Group1]}[Year]), Product={ Shippers'}>}[Gross Revenue])-1),'#.# %')
Thanks for Quick Response.I'm expecting the :"1" to take the set as complete selections not current selections.
Num((sum({
1
<[ Year]=P({$}[Year])
May be this:
=Num((sum({1<[ Year]=P({[Group1]}[Year]),Product={'Shippers'}>}[Gross Sale])/
sum({1<[ Year]=P({[Group1]}[Year]), Product={ Shippers'}>}[Gross Revenue])-1),'#.# %')
Thanks it works