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
ysherriff
Resolver II
Resolver II

Comparing Top N And Average Of Others

Hi all,

Excellent video about comparing Top N and Average others: by Alex Badiu .

(5) Comparing Top N And Average Of Others In Power BI - YouTube 1

 

I am trying to copy exactly Alex’s method for my usage and ran into two issues.

 

  1. My Ascending Rank formula counts blank values and therefore is ranking incorrectly… Here is the formula, output and TOPN table below. The issue is my TOPN table has no blank values. All names have values associated with it so I don’t know how to adjust this formula.

 

ysherriff_2-1664894121602.png

 


ysherriff_1-1664894098391.png

 

ysherriff_3-1664894187509.png

 

 

  1. The second issue is when I try to put in the TopN campaigns and average of Others formula into the table, I get an error message.

    ysherriff_4-1664894226739.png

     

    ysherriff_6-1664894246522.png

     

Any help would be massively appreciated. Thanks

1 ACCEPTED SOLUTION
v-xiaotang
Community Support
Community Support

Hi @ysherriff 

Thanks for reaching out to us.

>> The issue is my TOPN table has no blank values. All names have values associated with it so I don’t know how to adjust this formula.

could you share some sample data and its expected output? 

 

>>The second issue is when I try to put in the TopN campaigns and average of Others formula into the table, I get an error message.

according to the error message, you compared Number with Text wrongly in the measure,  could you share the .pbix file? so that we can troubleshoot it. 

 

Best Regards,

Community Support Team _Tang

If this post helps, 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-xiaotang
Community Support
Community Support

Hi @ysherriff 

Thanks for reaching out to us.

>> The issue is my TOPN table has no blank values. All names have values associated with it so I don’t know how to adjust this formula.

could you share some sample data and its expected output? 

 

>>The second issue is when I try to put in the TopN campaigns and average of Others formula into the table, I get an error message.

according to the error message, you compared Number with Text wrongly in the measure,  could you share the .pbix file? so that we can troubleshoot it. 

 

Best Regards,

Community Support Team _Tang

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

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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