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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

Reply
mwasekaar
Regular Visitor

Top 4 from Filed paramter

I had created field parameter in which there is a dropdown for each field in each field there are multiple categories say Product color had 7 similarly product color had multiple I need to restrict these  on visual only top 4 so that when I select any drop down I should  get only top 4 in the stack bar chart .and one should be selected as default 

mwasekaar_0-1737880878388.pngmwasekaar_1-1737880903369.png

 

 

 
 
1 ACCEPTED SOLUTION
Fowmy
Super User
Super User


@mwasekaar 

Could you explain this part "one should be selected as default "

I have attached a file with the solution. please check if this works for you.

Fowmy_0-1737889986675.png

 

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

View solution in original post

4 REPLIES 4
mwasekaar
Regular Visitor

Many thanks for the quick response 

danextian
Super User
Super User

Hi @mwasekaar 

 

You will need to create a rank measure that switches between different columns depending on the field parameter order selected and then use this measure as a visual filter. The default rank column in the screenshot below is Country as it's order is 0 and the alternative result in SELECTEDVALUE is 0.

danextian_0-1737890578657.png

 





Dane Belarmino | Microsoft MVP | Proud to be a Super User!

Did I answer your question? Mark my post as a solution!


"Tell me and I’ll forget; show me and I may remember; involve me and I’ll understand."
Need Power BI consultation, get in touch with me on LinkedIn or hire me on UpWork.
Learn with me on YouTube @DAXJutsu or follow my page on Facebook @DAXJutsuPBI.

Thank you for the quick response @Syndicate_Admin

Fowmy
Super User
Super User


@mwasekaar 

Could you explain this part "one should be selected as default "

I have attached a file with the solution. please check if this works for you.

Fowmy_0-1737889986675.png

 

 

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.