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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
raassd
Helper I
Helper I

Slicer to select the top values

 Hi Team,

I want to give the user a slicer where he can select the number from top 1 to n values and my visual should show only those results.

Please help me.

Here is my data

NamesRanks
A1
B2
C3
D4
E5
F6
G7
H8
I9
J10
K11
L12
A13
B14
C15
D16
E17
F18
G19
H20
I21
J22
K23
L24
Y25
Z26
1 ACCEPTED SOLUTION
v-jianboli-msft
Community Support
Community Support

Hi @raassd ,

 

You can change the format of Slicer to List:

vjianbolimsft_0-1663136348730.png

Output:

vjianbolimsft_1-1663136375297.png

vjianbolimsft_2-1663136394052.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

View solution in original post

2 REPLIES 2
v-jianboli-msft
Community Support
Community Support

Hi @raassd ,

 

You can change the format of Slicer to List:

vjianbolimsft_0-1663136348730.png

Output:

vjianbolimsft_1-1663136375297.png

vjianbolimsft_2-1663136394052.png

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

amitchandak
Super User
Super User

@raassd , Refer this solution

https://community.powerbi.com/t5/Community-Blog/Dynamic-TopN-made-easy-with-What-If-Parameter/ba-p/3...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors