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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

Reply
riyajain12345
Frequent Visitor

Swapping filter in power bi

How to create swapping filter in power bi.

Swapping filter for example i have category, subcategory ,region fields which i want to populate with profit ,as per the user selection view should populate data .

1 ACCEPTED SOLUTION
samratpbi
Super User
Super User

Hi, you can create a Fields Parameter which is under Modeling -> New Parameter -> Fields. you add those columns (category, subcategory ,region) in field parameter. then create a measure and choose the field to show with that. And create a slicer on the field parameter which you created ( this actually gets added autometically)

samratpbi_0-1713348653109.png

If this resolves your problem then please mark it as solution, Thanks!



View solution in original post

4 REPLIES 4
riyajain12345
Frequent Visitor

@samratpbi 

 

How do you edit a field parameter after creation.

Hi,

If you click on the parameter, it opens as DAX. from there you may add new field or rename.

samratpbi_0-1713352181820.png

 

samratpbi
Super User
Super User

Hi, you can create a Fields Parameter which is under Modeling -> New Parameter -> Fields. you add those columns (category, subcategory ,region) in field parameter. then create a measure and choose the field to show with that. And create a slicer on the field parameter which you created ( this actually gets added autometically)

samratpbi_0-1713348653109.png

If this resolves your problem then please mark it as solution, Thanks!



@samratpbi thansk alot for your help

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.