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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
Abhilash_P
Kudo Kingpin
Kudo Kingpin

Last date from date column

Hello Eveyone,
I have sales, sales date column i want to create measure which shows last date from sales date column 
sales date column in used in filter pane and Measure has to show Last date from sales date column based on filter selection   

Sales Date
11-11-2022
12-11-2022
13-11-2022
14-11-2022
15-11-2022

From above column
By default Last date is 15th Nov 2022, if filter slection is 14th Nov 2022 then last date must show 14th Nov 2022 

1 ACCEPTED SOLUTION
v-jingzhang
Community Support
Community Support

Hi @Abhilash_P 

 

A simple measure with MAX is able to meet your requirement.

Latest Sales Date = MAX('TableName'[Sales Date])

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

 

View solution in original post

2 REPLIES 2
v-jingzhang
Community Support
Community Support

Hi @Abhilash_P 

 

A simple measure with MAX is able to meet your requirement.

Latest Sales Date = MAX('TableName'[Sales Date])

 

Best Regards,
Community Support Team _ Jing
If this post helps, please Accept it as Solution to help other members find it.

 

FreemanZ
Super User
Super User

Suppoing your table named Data, try to create a measure with this:
LastDate = MAX(VALUES(Data[Sales Date))

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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