Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have a dimension called BusinessDivision which is used in a filter pane.
I want to display the values by highest revenue first, those should be on top of the filter list.
I tried
=dual(BusinessDivision, rank(sum(Revenue)))
but while the formula editor says its ok, in the filter pane I get 'Invalid dimension' error.
What am I doing wrong?
Use aggr in your dual expression -
=aggr(dual(BusinessDivision,rank(sum(Revenue)),BusinessDivision)
Hi,
Can you try sorting by expression in that dimension field filter pane and in expression write sum(Revenue) and then see if it works
Thanks,
Saloni
Hi,
Can you try sorting by expression in that dimension field filter pane and in expression write sum(Revenue) and then see if it works
Thanks,
Saloni
Hi Saloni,
Thanks for your fast reply. Sorting by expression with sum formula works 😊
But how would it work with a master-dimension and using dual? That way would be better because our worksheet designers then dont need to think about it everytime they use it. It would sort always by revenue with automatic sorting.
Use aggr in your dual expression -
=aggr(dual(BusinessDivision,rank(sum(Revenue)),BusinessDivision)
This is exactly what I was looking for.
Thanks!