Forum Discussion

MHTANK's avatar
MHTANK
Icon for Helper III rankHelper III
2 years ago

Text measure sorting based on other measure

Data:

Reprt:

Measures:

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

  • Anonymous's avatar
    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