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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

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
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 Power BI update to learn about new features.

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.