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 August 31st. Request your voucher.

Reply
MSMKM
Helper I
Helper I

How to find Latest date from below data

Hi Team,

 

i have table and need to find Latest date

 

Date      Item ID               Value

18-07-2022        200        5000$

19-07-2022        200        6500$

18-07-2022        300        3000$

19-07-2022        300        2000$

21-07-2022        300        1000$

19-07-2022        400        2500$

21-07-2022        400        3500$

22-07-2022        400        4000$

4 REPLIES 4
MSMKM
Helper I
Helper I

Hi DimaMD,

 

I Need Measure how can acheive ?

 

DimaMD
Solution Sage
Solution Sage

@MSMKM  try it

DimaMD_0-1680762887990.png

 


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com
Migasuke
Memorable Member
Memorable Member

Hi @MSMKM ,

If you just want simple last date, you can use following syntax with "LASTDATE" function:

Last Date = LASTDATE('Table'[Date])
result:
Migasuke_0-1680762708688.png

In case you want value for the last date, you can adjust the formula:

Last Date Value = CALCULATE(SUM('Table'[Value]),LASTDATE('Table'[Date]))
result:
Migasuke_1-1680762837254.png


Just be sure, you have Date column as a Date data type and not text. The same applies for Value column. Be sure you have number instead of text.

 



If my answer was helpful please give me a Kudos or even accept as a Solution.

Let's connect on LinkedIn!

DimaMD
Solution Sage
Solution Sage

hi, @MSMKM Do you need the latest date on your ID? Should it be a measure or a calculated column?


__________________________________________

Thank you for your like and decision

__________________________________________

Greetings from Ukraine

To help me grow PayPal: embirddima@gmail.com

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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