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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
djansson
Regular Visitor

Top N Filter gives more than N despite no ties

I am trying to show the Top 3 courses by F% in my report, but it keeps giving me far more than the top 3 even though there are no (relevant) ties for the information. Here's what I'm seeing:

 

djansson_0-1648838058761.png

 

For the record, no matter what I put for N, it always shows me more results than I'm asking for.

1 ACCEPTED SOLUTION
djansson
Regular Visitor

Thanks for responding.

 

I think I figured it out on my own. It looks like one of the calculated columns used in [F%] was using BLANK if there was no data, which was screwing up the % calculations and was probably therefore screwing up how PBI calculates Top N. I simply added "+ 0" to the calculated column so that it returns 0 instead of blank, and it looks like that fixed it.

View solution in original post

3 REPLIES 3
djansson
Regular Visitor

Thanks for responding.

 

I think I figured it out on my own. It looks like one of the calculated columns used in [F%] was using BLANK if there was no data, which was screwing up the % calculations and was probably therefore screwing up how PBI calculates Top N. I simply added "+ 0" to the calculated column so that it returns 0 instead of blank, and it looks like that fixed it.

Hi @djansson 

If it is solved, please mark this post as solved




Did I answer your question? Mark my post as a solution!
Appreciate your Like/Kudos

Proud to be a Super User!





v-kkf-msft
Community Support
Community Support

Hi @djansson ,

 

I could not reproduce your question, could you please share your sample data or PBIX file?

 

Best Regards,
Winniz

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 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.

Top Solution Authors