Forum Discussion
oshello
3 years agoFrequent Visitor
Matrix Row Custom Grouping
Hi, I have a problem where I'm trying to customize the order of grouping of the rows in a matrix visual without reversing the labels. It's a bit hard to explain so I have an example. ...
- 3 years ago
Hi oshello
Yes,you can try create calculated column like :RelatedCompany =VAR CurrentCode = 'Input (2)'[Code]VAR CurrentCompany = 'Input (2)'[Company]RETURNIF(CurrentCompany = "TREASURY",CALCULATE(MAX('Input (2)'[Company]),FILTER('Input (2)','Input (2)'[Code] = CurrentCode &&'Input (2)'[Company] <> "TREASURY")),CurrentCompany)
I updated the sample file as well.If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Ritaf1983
3 years agoSuper User
Hi oshello
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523