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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
MHTANK
Helper II
Helper II

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 II
Helper II

I submitted Idea

v-yaningy-msft
Community Support
Community Support

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
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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