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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
prv_1401
Helper I
Helper I

Sorting in decomposition tree

prv_1401_0-1680685046150.png

Hi everyone, I want to sort the values in order( Positive value, Negative value and then 0) . So the bars with blue shade at top followed by red and blank bar in the bottom. 

I added another column in order to use the the feature sort by column but it doesnt work and also disorder the product class and week section. Please share your thoughts 
Thank you

1 REPLY 1
Anonymous
Not applicable

Hi @prv_1401 ,

 

Please try sorting [Demand] directly in descending order. If that doesn't work, try writing the value as a measure and placing it on the visual field.

vtangjiemsft_0-1680837072341.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. Thank you.

 

Best Regards,

Neeko Tang

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

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.