Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
chiranjivdas
Contributor III
Contributor III

How to an expression that is based on a conditional dimension?

I have a pivot table by accounts and quarters across the top.

I need to create a view that has the current quarter only, so I have used this expression:

=

if([Fiscal Quarter]='2015-4',sum([USD Product Bookings]),'0')

Now, I want to sort, the values in descending order, but I am unable to. I tried Sort - Expression - Descending - =if([Fiscal Quarter]='2015-4',sum([USD Product Bookings]),'0')

but it did not work.

Thanks for your help.

1 Solution

Accepted Solutions
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Have you tried sort by Y value?

-Rob

View solution in original post

3 Replies
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

Have you tried sort by Y value?

-Rob

chiranjivdas
Contributor III
Contributor III
Author

Thank you, Rob

Anonymous
Not applicable

HI Use the expression like

Sum(if([Fiscal Quarter]='2015-4',[USD Product Bookings],'0') )