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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
rpinxt
Impactful Individual
Impactful Individual

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
Impactful Individual
Impactful Individual

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
Impactful Individual
Impactful Individual

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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