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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Top Solution Authors