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

Get inspired! Check out the entries from the Power BI DataViz World Championships preliminary rounds and give kudos to your favorites. View the vizzies.

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!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

Feb2025 NL Carousel

Fabric Community Update - February 2025

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

Top Solution Authors
Top Kudoed Authors