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
jcc3508
Regular Visitor

Get Max Date Measure filtering with multiple slicers

Let's say I have a 450,000 x 70 table.

 

One of the 70 table columns is "Date", which contains dates  for each row entry. 

 

I have a report page in PBI that contains about 8 slicers.

Each slicer provides selection over the values of one column out of the 70 columns of this table. So there's a total of 8 different columns throughout the 8 different slicers.

 

I want to calculate a date measure, such that it returns the maximum date available after applying all 8 slicer selections. Could anyone help with this?

 

 

4 REPLIES 4
tamerj1
Super User
Super User

Hi @jcc3508 
Simply MAX ( 'Table'[Date] )

Really? Perhaps I am missing something?

A simple MAX('Table'[Date]') is not returning the MAX date out of all available dates.

 

jcc3508_0-1675927447947.png

 

maxx(allselected(table),table[date])

@jcc3508 
Ok, now it is clear that you have a visual filter context that needs to be removed. The following formula should provide the result regardles of the filter context of the visual.

=
CALCULATE (
    MAX ( 'Table'[Date] ),
    ALLEXCEPT (
        'Table',
        'Table'[Column1],
        'Table'[Column2],
        'Table'[Column3],
        'Table'[Column4],
        'Table'[Column5],
        'Table'[Column6],
        'Table'[Column7]
    )
)

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.