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
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

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.

Top Solution Authors