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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
Berl21
Helper III
Helper III

Top N Filter doesn't work

Hi,

I have an issue with the Top N filter option on a visual. It simply doesn't interact with the table as intended.

Current status:

Berl21_0-1679666166251.png


I need to see only the first row with MAX Value= 6. 

What are the typical reasons why this filter can't work properly? And if not possible to use it, what kind of measure can I write to replace it?

Thanks,

Pauline.

3 REPLIES 3
Berl21
Helper III
Helper III

@meenakp I am still stuck with this issue.

Here is my latest version:

Berl21_0-1681217544293.png

The filter is activated, the measure tie reports two distinct numbers. It should work but doesn't. Any idea why?

meenakp
Resolver I
Resolver I

@Berl21, This could be a simple fix. After you select "TOP 1" there will be a "Apply filter". You have to click on it.

In your case it will be just below "MAX Value" highlight you are showing here.

@meenakp Unfortunately it is already activated 😞 I don't get what could be in the way of this filter...

I also tried to replace this filter with a simple measure that should report only the top cases when using a classic filter:

Measure =


IF([Max]=[Rank Stage MEASURE],1,0)

I set the filter in this way:

Berl21_0-1679670706445.png

The problem with this is that it is not dynamic. "1" gets populated to the last entry, regardless of the time frame set in the slicer. 

I need to replace this measure with a dynamic version of it, or fix the top n filter. 

Do you have any ideas about this?

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

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

Top Solution Authors