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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.