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

View all the Fabric Data Days sessions on demand. View schedule

Reply
DarranShepherd
New Member

Selectively applying nested filters on a single column?

Is there a way to ignore part of a filter on a column?

 

If I have a Date Slicer on a report that is being used to select a subset of dates being displayed on a matrix with date on the rows, can I write a DAX expression for a measure that returns the minimum date specified by the slicer?

 

If I use just 

MIN(Table[Date])

Then I get the date of each row in the measure.

 

If I use

CALCULATE(MIN(Table[Date]), ALL(Table))

then this shows the minimum date of the table disregarding the constraints of the slicer.

 

As a more concrete example, if I have a table containing rows for every date in 2016, then a date slicer on the report restricting this to just the month of November, a matrix shows rows for each day in November. Can I write a measure that shows 2016-11-01 for each value in the matrix?

1 ACCEPTED SOLUTION
DarranShepherd
New Member

I've been searching for about 2 hours. As soon as I post, I find and try

CALCULATE(MIN(Table[Date]), ALLSELECTED(Table[Date]))

and get exactly the result I was looking for.

 

D'oh!

View solution in original post

1 REPLY 1
DarranShepherd
New Member

I've been searching for about 2 hours. As soon as I post, I find and try

CALCULATE(MIN(Table[Date]), ALLSELECTED(Table[Date]))

and get exactly the result I was looking for.

 

D'oh!

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 Solution Authors
Top Kudoed Authors