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
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
v-eqin-msft
Community Support
Community Support

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
v-eqin-msft
Community Support
Community Support

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

Top Solution Authors
Top Kudoed Authors