Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
In a pivot table, what would be the sort expression in order to have values of a text column in a pre-defined order ?
This dimension has 10 values and I want both of them to be my column 1 and column 2, others don't matter.
Thank you
Sébastien
Perhaps something like =match(only({1}YourDimensionHere),'Value1','Value2', ...etc, 'Value10'). The list 'Value1','Value2', ...etc, 'Value10' should be in the order you want to sort them.
@Gysbert_Wassenaar Thanks, It worked for me too.
Perhaps something like =match(only({1}YourDimensionHere),'Value1','Value2', ...etc, 'Value10'). The list 'Value1','Value2', ...etc, 'Value10' should be in the order you want to sort them.
It works perfectly, Thank you very much Gysbert.
Regards, Sebastien
Found this really helpful, I am working on School Exam grades, so sorting the grades in A*, A, B, C, D, E, F, G, U was helpful.
I f implimented this at a subject level, i.e. English, Maths, Biology, Physics, Chemistry.....but the bar graph has a drill down, i.e. I select English and I can drill down to the classes in English, the expression sort order does not go to that drill down, but I am sure I can make it.
Does anyone know how...?
@Gysbert_Wassenaar Thanks, It worked for me too.