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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Rank with filter

Hello Everyone,

I have following set of data:

ProductShiftHoursDate
ART111/9/2022
BUPDT211/9/2022
CTAT411/9/2022
ART211/9/2022
BUPDT611/8/2022
CTAT911/8/2022
AUPDT811/9/2022
BTAT211/8/2022
CTAT311/8/2022
ART211/8/2022
BUPDT311/9/2022
CTAT611/8/2022
ART211/8/2022
BUPDT511/8/2022
CUPDT211/9/2022
ART1011/8/2022
BTAT411/8/2022
CTAT311/8/2022

From this data i can create following Stacked column chart:

Capture.JPG

What i would like to do is to sort chart by the percentage of UPDT for YESTERDAY so i would like to see B as the first bar on the chart.
Question 2: how to attach *.pbix file to post?

REgards

1 ACCEPTED SOLUTION
mangaus1111
Solution Sage
Solution Sage

Hi @Anonymous ,

see my pbi file

https://1drv.ms/u/s!Aj45jbu0mDVJi0cGoOec2MUFsb0J?e=dNTwSn

 

1) you create the measure for sorting

2) you put the measure in the tooltips field 

mangaus1111_0-1667992094213.png

 

3) you sort the x-axis by the sort measure

mangaus1111_1-1667992155057.png

 

 

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

 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

@mangaus1111 one more time thank you very much!

Great work, it works!

mangaus1111
Solution Sage
Solution Sage

Hi @Anonymous ,

see my pbi file

https://1drv.ms/u/s!Aj45jbu0mDVJi0cGoOec2MUFsb0J?e=dNTwSn

 

1) you create the measure for sorting

2) you put the measure in the tooltips field 

mangaus1111_0-1667992094213.png

 

3) you sort the x-axis by the sort measure

mangaus1111_1-1667992155057.png

 

 

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

 

Anonymous
Not applicable

Thank you very much for help. I will be able to answer later as i can't download .pbix from link at current location.

daXtreme
Solution Sage
Solution Sage

You don't attach. You paste a link to the file that's stored on a shared drive. Don't forget to grant public access.

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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