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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Abhilash_P
Impactful Individual
Impactful Individual

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.