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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors