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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
UksiDuksi
Frequent Visitor

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 @UksiDuksi ,

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
UksiDuksi
Frequent Visitor

@mangaus1111 one more time thank you very much!

Great work, it works!

mangaus1111
Solution Sage
Solution Sage

Hi @UksiDuksi ,

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.

 

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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