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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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