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
Anonymous
Not applicable

how to get data for maximum date in date slicer?

I have a date slicer in my report, i want data for some visuals related to the maximum date selected in range from date slicer. I cannot see any option to have data on that specific date. Right now, for all visuals it is taking cummulative data of whole date range selected. How to achieve this?

2 REPLIES 2
Anonymous
Not applicable

How can we filter dataset in powerbi using this maxDate?

vicky_
Super User
Super User

To get the maximum date selected in the slicer, use the DAX 

maxDate = CALCULATE(MAX(Table[Date]), ALLSELECTED(Table[Date])), which you can use directly as a filter on the visual if there is a relationship, or as a filter argument.

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.