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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.