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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
Solution Supplier
Solution Supplier

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
Solution Supplier
Solution Supplier

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.