Forum Discussion
MSMKM
Helper I
3 years agoHow 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
- Migasuke
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: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:
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. - DimaMD
Solution Sage
- MSMKM
Helper I
Hi DimaMD,
I Need Measure how can acheive ?