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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
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.

Top Solution Authors