cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

TopN

Hi everyone, I'm trying to rank some values, but I can't find the TopN option in the visual level filter. Any idea because why?

 

Sin título.jpg

 

Kind regards

2 ACCEPTED SOLUTIONS

Accepted Solutions
Highlighted
Community Champion
Community Champion

Re: TopN

1) Select the Column you want to display the Top Budgets of

 

2) Then change the Filter Type of that Column to Top N

 

3) Fill in Top / Bottom number field

 

4) And lastly drag to the By Value filed your Budget Measure

 

Good Luck! Smiley Happy

 

EDIT: Alternatively you can do this...

 

1) Create a Rank Measure using your Budget Measure to Rank the Column values (same column as above)

 

2) Add the Rank Measure in your table

 

3) Then in the Visual Level Filters - select the Rank - Show items when value: - select is less than (or appropriate) and fill in number

 

This has the advantage of also showing you the Rank Number

 

Both methods will produce the same result though! Smiley Happy

View solution in original post

Highlighted
Microsoft
Microsoft

Re: TopN

Hi @chrisgehm,

 

You can specify that you’d like to filter by the Top or Bottom number of categories, sorted by a specific measure. You will find the Ton N filter in the filter pane as a Filter Type option for the category field you want to filter down.

 

So this filter is for catefory column, not for measure column. In your scenario, please check if you can see the TOP N filter in your catefory column.
Capture.PNG

 

Regards,

Charlie Liao

View solution in original post

8 REPLIES 8
Highlighted
Community Champion
Community Champion

Re: TopN

1) Select the Column you want to display the Top Budgets of

 

2) Then change the Filter Type of that Column to Top N

 

3) Fill in Top / Bottom number field

 

4) And lastly drag to the By Value filed your Budget Measure

 

Good Luck! Smiley Happy

 

EDIT: Alternatively you can do this...

 

1) Create a Rank Measure using your Budget Measure to Rank the Column values (same column as above)

 

2) Add the Rank Measure in your table

 

3) Then in the Visual Level Filters - select the Rank - Show items when value: - select is less than (or appropriate) and fill in number

 

This has the advantage of also showing you the Rank Number

 

Both methods will produce the same result though! Smiley Happy

View solution in original post

Helper III
Helper III

Re: TopN

@Sean Hi thanks for the answer, unfotunately, still can't see the option of TopN in the filter section. Any idea because why?

Highlighted
Community Champion
Community Champion

Re: TopN

Top N was introduced in October - I'm sure you are running Oct or later version of PBI aren't you?

 

Take a look at the documentation and video here

https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-october-feature-summary/preview/#topN

Highlighted
Microsoft
Microsoft

Re: TopN

Hi @chrisgehm,

 

You can specify that you’d like to filter by the Top or Bottom number of categories, sorted by a specific measure. You will find the Ton N filter in the filter pane as a Filter Type option for the category field you want to filter down.

 

So this filter is for catefory column, not for measure column. In your scenario, please check if you can see the TOP N filter in your catefory column.
Capture.PNG

 

Regards,

Charlie Liao

View solution in original post

Highlighted
Helper I
Helper I

Re: TopN

The field which you are using for TopN should be a total or count of instances. Only then the TopN option will pop-up

 

Thanks,

Saad

 

 

Highlighted
Regular Visitor

Re: TopN

I haven't used Top N in a while but I can see it looks different in the recent upgrade to the filter tab. The functionality should be the same and if not that's a bug.

 

For some reason I don't recall it being necessary to add the item the second time to the filter perhaps that was already necessary as indicated in the screenshot is standard practice  The difference is the filter is now on the filter Pane rather than in the Visualization pane, assuming you've activated the new pane.

 

I don't have any products done in earlier releases to see if there's an issue between older products in the new release.

 

But as you can see in this screenshot the Top N function is working for me.top N.png

 

 

Highlighted
New Member

Re: TopN

Hi, Did you resolve this problem?I have the same problem (I have the last version installed).

 

Regards,

 

 

Highlighted
Frequent Visitor

Re: TopN

Hi,

 

How did you resolve the issue at the end?

 

I am having the same problem. It doesn't matter if it's a numerical or text value, niether of them picks up the Top N filter.

 

I wonder if this is a bug of the latest update?

 

Thanks.

 

Kind regards,

 

Natalia

Helpful resources

Announcements
Get Ready for Power BI Dev Camp

Get Ready for Power BI Dev Camp

Mark your calendars and join us for our next Power BI Dev Camp!.

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors