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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
MHTANK
Helper III
Helper III

Text measure sorting based on other measure

Data:

data.png

Reprt:

report.png

Measures:

measures.png

1) TOTAL_VALUE = SUM(Sheet1[Value])
2) total_sale_unit_ = IF([TOTAL_VALUE]/1000000 > 1, FORMAT([TOTAL_VALUE],"#,,.00 M"), IF([TOTAL_VALUE]/100000 >1, ROUND([TOTAL_VALUE]/100000,2)&" L", IF([TOTAL_VALUE]/1000 >1, FORMAT([TOTAL_VALUE],"#,.00 K"), [TOTAL_VALUE])))
 
--->>> In the reort I want a column subtotal (Total) sorting based on measure (TOTAL_VALUE).
2 REPLIES 2
MHTANK
Helper III
Helper III

I submitted Idea

Anonymous
Not applicable

Hi, @MHTANK 

According to your description, you want to implement a column subtotal (Total) sorting based on measure (TOTAL_VALUE) in your report. Unfortunately, the current version of Power BI does not directly support sorting text columns based on other measure values. You can submit an idea for here and the product team will take note of such a need.

Related Link: New tab (powerbi.com)

Best Regards,
Yang
Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly --  How to provide sample data in the Power BI Forum

 

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors