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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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