Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago
Solved

Different Sort Criteria on different Levels in a Table

Hi guys,

 

i have the following problem.

I have a table, where I would like to give our sales guys a drill down functionality.

 

 

They can analyze margins for specific articles and on the next level they can see the lot sizes.

I would like to have the lot sizes not to be sorted by sales, but based on their actuals order, I have used the "sort by" functionality to sort the lot sizes in the correct way.

 

 

If I sort the data based on the first column, the order is also correct for the lot sizes

 

Finally I want to have the relevant dimensions on top (sorted by sales), but the next level should be sorted differently, just like in

Pivot Tables in Excel, where you can sort the different levels on different criteria:

 

How can I do that on Power BI Desktop?

 

Here is some Sample Data

ArticleGroupDimensionLotsizeOrderSales
ABS UNI300x1< 1.00011.532
ABS UNI300x1>= 2.00022.422
ABS UNI300x1>= 5.00032.097
ABS UNI300x1>= 10.00047.053
ABS UNI300x1< 1.000116.788
ABS UNI300x1>= 2.000218.178
ABS UNI300x1>= 5.000319.696
ABS UNI300x1>= 10.00047.050
ABS UNI300x1< 1.000111.031
ABS UNI300x1>= 2.00028.614
ABS UNI300x1>= 5.000319.250
ABS UNI300x1>= 20.000512.348
ABS UNI300x1>= 50.00067.361
ABS UNI300x2< 1.000112.643
ABS UNI300x2>= 2.0002152
ABS UNI20x2>= 5.00039.112
ABS UNI300x2>= 10.000410.400
ABS UNI300x2< 1.00012.373
ABS UNI23x2>= 2.00025.677
ABS UNI300x2>= 5.00037.539
ABS UNI300x2>= 10.00044.006
ABS UNI300x2< 1.000118.369
ABS UNI300x2>= 2.000219.347
ABS UNI300x2>= 5.000310.256
ABS UNI300x2>= 20.00052.941
ABS UNI300x2>= 50.000612.422

 

 

 

  • @JensMarkgraf , In Power bi Matrix classification is not yet allowed. Therefore, if sorted in value(measure) the row (column/dimes) will align with that. Or if sorted in the row, the rest of the row member will take that guy

  • Anonymous's avatar
    Anonymous
    5 years ago

    Thanks for the information.

    I'm going to point out that in the ideas section.

    Or do you know that something like this is already planned?

3 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    The Pivot Screenshot was not uploaded. That is what it looks like in Pivot in Excel

     

  • @JensMarkgraf , In Power bi Matrix classification is not yet allowed. Therefore, if sorted in value(measure) the row (column/dimes) will align with that. Or if sorted in the row, the rest of the row member will take that guy

    • Anonymous's avatar
      Anonymous
      Not applicable

      Thanks for the information.

      I'm going to point out that in the ideas section.

      Or do you know that something like this is already planned?