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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
omaffud
Frequent Visitor

Matrix - Sorting a column that is not TOTAL

I have a Matrix report that shows revenue by year in the columns, but the years are created by the invoice date, so a single field. I want to know if I can sort, from highest revenue to lowest, a specif year because I was able to sort only the TOTAL column in the right side.

1 ACCEPTED SOLUTION

Hi  @omaffud ,

 

Does my solution above make sense? 

 

Maybe you can post your new idea https://ideas.powerbi.com/forums/265200-power-bi-ideas , to improve the Power BI Desktop.

 

It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best regards

Amy

 

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

3 REPLIES 3
v-xicai
Community Support
Community Support

Hi @omaffud ,

 

You can create rank column like DAX below. Choose the revenue in Field Pane, then click sort by column Rank.

 

Rank= RANKX(FILTER(Table1 ,Table1 [Year]=EARLIER(Table1 [Year])),Table1 [revenue],, Desc, Dense)

 

10.png

 

 

 

 

Best Regards,

Amy

 

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

I was looking for a simpler solution, like we do in Excel, where we can select the column and sort after that. Maybe this is a suggestion from improvement in Power BI.

Hi  @omaffud ,

 

Does my solution above make sense? 

 

Maybe you can post your new idea https://ideas.powerbi.com/forums/265200-power-bi-ideas , to improve the Power BI Desktop.

 

It is a place for customers provide feedback about Microsoft Office products . What’s more, if a feedback is high voted there by other customers, it will be promising that Microsoft Product Team will take it into consideration when designing the next version in the future.

 

Best regards

Amy

 

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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.