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 September 15. Request your voucher.

Reply
lguicarvalho
New Member

Ignore filters in one option of field parameters

Hi, everyone!

I have the following field parameter in DAX, and I will use this columns to alternatively fullfill a column matrix field and a X-axis graph visual:

 

 

 

Parameter = { 
("Director", NAMEOF('cost_center'[director]), 0), 
("month", NAMEOF('calendar'[month]), 1) 
}

 

 

 


The idea is that date filters should work when director is selected in parameter, and should ignore when month is selected.
How can I ignore filters in the column "'calendar'[month]" , only when selecting the option "month" in the parameter? 
I tried this, but it didn't work:

 

 

 

Parameter = { 
("Director", NAMEOF('cost_center'[director]), 0), 
("month", CALCULATE(NAMEOF('calendar'[month]), ALL('calendar')), 1) 
}

 

 

 


Thanks in advance!

1 REPLY 1
lbendlin
Super User
Super User

Use a separate measure as a visual filter. That measure can sense the selected value of the parameter and modify the date filters accordingly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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