cancel
Showing results for 
Search instead for 
Did you mean: 
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

5 REPLIES 5
Kougo
New Member

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 @Kougo 

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

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
Carousel_PBI_Wave1

2023 Release Wave 1 Plans

Power BI release plans for 2023 release wave 1 describes all new features releasing from April 2023 through September 2023.

Power BI Summit Carousel 2

Global Power BI Training

Make sure you register today for the Power BI Summit 2023. Don't miss all of the great sessions and speakers!

BizApps LATAM 2023

Business Application LATAM Summit 2023

Join the biggest FREE Business Applications Event in LATAM this February.

Power Platform Bootcamp

Global Power Platform Bootcamp

In this bootcamp we will deep-dive into Microsoft’s Power Platform stack with hands-on sessions and labs, delivered to you by experts and community leaders.

Top Solution Authors
Top Kudoed Authors