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

View all the Fabric Data Days sessions on demand. View schedule

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors