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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
powerbi_lost
Frequent Visitor

Grouping Data

I have this visual table and I want it to be first grouped autoamtically by branch and then by Highest to lowest turn around days.

powerbi_lost_0-1649270244178.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @powerbi_lost ,

 

Here's my solution.

Create a calculated column.

Rank = RANKX('Table',[Turnaround days]+RANKX('Table',[Branch],,DESC,Dense)*100,,DESC,Dense)

Then you could add the rank column into the table visual, sort asc.

vstephenmsft_0-1649928848338.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @powerbi_lost ,

 

Here's my solution.

Create a calculated column.

Rank = RANKX('Table',[Turnaround days]+RANKX('Table',[Branch],,DESC,Dense)*100,,DESC,Dense)

Then you could add the rank column into the table visual, sort asc.

vstephenmsft_0-1649928848338.png

 

 

Best Regards,

Stephen Tao

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you! It worked 🙂 

Tahreem24
Super User
Super User

@powerbi_lost Try this new Table DAX:

Table = SUMMARIZE(BranchTable,BranchTable[Branch],"TurnAround Days",SUM(BranchTable[Turnaround Days]))
 
Don't forget to give thumbs up and accept this as a solution if it helped you!!!

Please take a quick glance at newly created dashboards : Restaurant Management Dashboard , HR Analytics Report , Hotel Management Report, Sales Analysis Report , Fortune 500 Companies Analysis , Revenue Tracking Dashboard
Anonymous
Not applicable

Hey PowerBI_lost,

I think you should use a matrix visual instead of a table visual. Then you are able to group. Then you can sort on Turnaround days.

I think this will give you the result you are searching for.


Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.