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
rpinxt
Solution Sage
Solution Sage

Max Date / Period for dates in a list/table

I do not understand why I am aaalways strugling with these things 😞

rpinxt_0-1698132228129.png

Could somebody teach me the correct way for these thing to always work??

MaxPeriod should everywhere be 10-2023.

Why is my measure nog working in this case?

1 ACCEPTED SOLUTION

change this to the date columns from the sales table

CALCULATE(
MAX(SALES[Date]),

REMOVEFILTERS())

View solution in original post

4 REPLIES 4
rpinxt
Solution Sage
Solution Sage

Thanks @Ahmedx ,

But not entirely what I need:

rpinxt_0-1698132830538.png

It now find the latest date in the future.

change this to the date columns from the sales table

CALCULATE(
MAX(SALES[Date]),

REMOVEFILTERS())

Yes this did the trick.

Thanks.

So I guess it will not work with the date from the autocalendar.

Ahmedx
Super User
Super User

pls try this

CALCULATE(
MAX(dimDate[Priod]),

REMOVEFILTERS())

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.