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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
verianalist2022
Frequent Visitor

TopN Perecent

Merhaba 

Bir pareto grafik yaptım ve %80 olarak renklendirme yaptım.Şimdi yapılan şey örnek veriyorum %80 denk gelen (Top2) sırala yapıp bir grafikte hemen 1. yada tek 2. olarak önlemeye.yardım edin.

 

2.JPG

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @verianalist2022 ,

 

It seems that you want to re-arrange the order based on the standard=0.8 in visuals. For example:

measure value expect rank
0.87 3
0.9 2
0.92 1

0.76

6
0.54 5
0.23 4

 

If so, please try:

Rank = 
var _1=RANKX(FILTER(ALL('Table'),[Measure]>=0.8),[Measure],,DESC,Dense)
return IF([Measure]<0.8, RANKX( FILTER(ALL('Table'),[Measure]<0.8),[Measure],,ASC,Dense)+_1, _1)

 And apply it to Tooltips pane, and sort the axis by it:

Eyelyn9_1-1645780608506.png

 

If not, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

 

Best Regards,
Eyelyn Qin
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

1 REPLY 1
Anonymous
Not applicable

Hi @verianalist2022 ,

 

It seems that you want to re-arrange the order based on the standard=0.8 in visuals. For example:

measure value expect rank
0.87 3
0.9 2
0.92 1

0.76

6
0.54 5
0.23 4

 

If so, please try:

Rank = 
var _1=RANKX(FILTER(ALL('Table'),[Measure]>=0.8),[Measure],,DESC,Dense)
return IF([Measure]<0.8, RANKX( FILTER(ALL('Table'),[Measure]<0.8),[Measure],,ASC,Dense)+_1, _1)

 And apply it to Tooltips pane, and sort the axis by it:

Eyelyn9_1-1645780608506.png

 

If not, please provide me with more details about your table and your problem or share me with your pbix file after removing sensitive data.

 

 

Best Regards,
Eyelyn Qin
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

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 Power BI update to learn about new features.

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.