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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register 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! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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