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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
esquiveljc
Helper I
Helper I

Filter another filter with parameters

Hi everyone,

 

I have a table with 4 cities with assigned numbers for each column: D, E, and F.  I also have another column with the maximum values ​​in D, E, and F for each city.

 

City       MaxDEF D     E         F

Miami1011
Boston2210
Chicago3321
Seattle3003

 

These numbers represent colors.

 

esquiveljc_0-1744742993013.png

I put this in a map, and for the legend I created the following parameter:

 

Parameter = {
("MaxDEF", NAMEOF('Table'[MaxDEF]), 0),
("D", NAMEOF('Table'[D]), 1),
("E", NAMEOF('Table'[E]), 2),
("F", NAMEOF('Table'[F]), 3)
}

 

I put too these parameter in my FilterLevel1.

 

This works fine, but I want a second filter (FilterLevel2) to be able to choose the color numbers for each choice in my FilterLevel1. So to explain better, in my FilterLevel1 when I choose the MaxDEF option, my FilterLevel2 should display "1, 2, 3". When I select "D" in my FilterLevel1, it should display "0,2,3" in my FilterLevel2, and so on.

 

esquiveljc_1-1744743132171.png

Do you have any idea how I can create FilterLevel2 knowing that a filter doesn't accept measure?

 

Thank you!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@esquiveljc , Hope you are using this features

Create dynamic slicers using field parameters
https://powerbi.microsoft.com/en-za/blog/power-bi-november-2022-feature-summary/#post-21321-_Toc1175...

In this case, it will not keep the previous filter values when you change the value 1

 

 

refer if needed
Create dynamic slicers using field parameters: https://youtu.be/H2ZxWaHAJZQ
https://medium.com/@amitchandak/power-bi-power-bi-create-dynamic-slicers-using-field-parameters-2025...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@esquiveljc , Hope you are using this features

Create dynamic slicers using field parameters
https://powerbi.microsoft.com/en-za/blog/power-bi-november-2022-feature-summary/#post-21321-_Toc1175...

In this case, it will not keep the previous filter values when you change the value 1

 

 

refer if needed
Create dynamic slicers using field parameters: https://youtu.be/H2ZxWaHAJZQ
https://medium.com/@amitchandak/power-bi-power-bi-create-dynamic-slicers-using-field-parameters-2025...

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors