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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
rpinxt
Power Participant
Power Participant

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
Power Participant
Power Participant

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())
rpinxt
Power Participant
Power Participant

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
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors