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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
AndreasGjNi
Frequent Visitor

Dynamic Field in Slicer based on Field Parameter selection

Hi PBI Community

I have been stuck for a while on trying to build upon my Field Parameter into a slicer. 

I have a Field Parameter that switches between four columns (Min Quantity, Max Quantity, Avg Quantity, Confirmed Quantity).

I need a Slicer / Filter that is populated by the field (4 columns, Min Price, Max Price, Avg Price, Confirmed Price), based on the selection in the field parameter. 

So e.g, if i were to select "Min Quantity" in my Field Parameter, the slicer would contain the "Min Price" column and so forth. 

I have looked into combining IF() and SWITCH(), but the Slicer won't accept the measures i have created as valid. 

All help is appreciated.

Kind regards,
Andreas

6 REPLIES 6
KWYew
Frequent Visitor

Hi guys,
I had the same problem, and found a solution online.
Check out this video:
https://youtu.be/nWgPynP9XDM?t=169

 

In case the link doesn't work, below some brief description:

1) Duplicate the field parameter slicer

2) Select the duplicated slicer, from the visualisation panel "Field" Section, drop down and select "Show values of selected field"

Anonymous
Not applicable

Hi Andreas,
I've come across your post as I'm trying to do exactly the same thing...!  If you figured it out in the end, please could you share what you did?  Thanks 🤞 

Hi @Anonymous 

Unfortunately, as far i could investigate, this is not possible. I used a combination of field parameters and bookmarks. 

Anonymous
Not applicable

Ah, pity.  Thanks for replying so quickly anyway 🙂

AndreasGjNi
Frequent Visitor

Hi @v-cazheng-msft 


Yes, this is precisely what i'm trying to solve.

BR,
Andreas

v-cazheng-msft
Community Support
Community Support

Hi @AndreasGjNi,

 

You mean you want the items in Slicers or Filters pane will dynamically change according to the selection of your Field parameter?

 

Best Regards,    

Community Support Team _ Caiyun

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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.