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
Anonymous
Not applicable

Sort stacked column chart based on a rank value

Hello ,

i have the report that show me the top 3  of my products + Others   like as bellow : 

MR_Robot92_0-1674598589326.png

I have a measure that show me the rank, of my product and i want to display the stacked bar based on my Rank value , for example for the date 7/11/2022 , the product in yellow was sold more than Orange the result that i want for date 7/11/2022 Bleu-Yellow then Orange .
The rank value give me the right result but i didn't see on the chart how can i filter by the rank .

 

I tried the tooltip for sorting but didn't work .

I joined a pbix to have an idea about my measure.

Link for the pbix


Any help to fix that ? 
Thanks 


3 REPLIES 3
Ahmedx
Super User
Super User

try Throw in your [Rank] in Y-axis and throw in [Top N SUM] in a tooltip

amitchandak
Super User
Super User

@Anonymous , Based on what I got so far, check if this can help

Power BI- TOPN with Others- https://youtu.be/I_TY4hVlzAE

Anonymous
Not applicable

Hi @amitchandak 

I don't have any problem with top N+others but the problem that I have is sorting the stucked bar based on rank value 

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

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.