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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

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.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.