Forum Discussion
How to show only the latest data for each timestamp
- 6 years ago
Hi pbidemouser2 ,
This is very strange.
Are you saying that you can‘t use the [Timestamp] column in the LASTNONBLANKVALUE() function?
What error did you encounter?
Please send a screenshot of your error message.
Or try this measure formula.
Measure 3 = CALCULATE( MAX(Sheet4[Value]), ALLEXCEPT(Sheet4, Sheet4[Timestamp] ) )Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Timestamp is not a measure here amitchandak
Hi pbidemouser2 ,
Please refer to the below formula.
Measure 2 =
LASTNONBLANKVALUE(
// the name of my table is 'Sheet4'
Sheet4[Timestamp],
MAX( Sheet4[Value] )
)
Best regards,
Lionel Chen
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- pbidemouser26 years ago
Helper II
HI v-lionel-msft ,
I tried the measure u told. The Sheet4[Timestamp] part doesnt work.
Since the Timestamp column isnt a measure here, i couldnt use it in this. Could you pls suggest me what to do?
Thanks
- v-lionel-msft6 years ago
Community Support
Hi pbidemouser2 ,
This is very strange.
Are you saying that you can‘t use the [Timestamp] column in the LASTNONBLANKVALUE() function?
What error did you encounter?
Please send a screenshot of your error message.
Or try this measure formula.
Measure 3 = CALCULATE( MAX(Sheet4[Value]), ALLEXCEPT(Sheet4, Sheet4[Timestamp] ) )Best regards,
Lionel ChenIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- pbidemouser26 years ago
Helper II
Thanks v-lionel-msft , this measure worked