Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Get last text value by date

I have a very simple problem, but it seems like all the answers so far on the forums are very complicated.  I wanted to make the code as simple as possible.

 

Basically, I have a table of two columns.  First is dates in the following format: ss:mm:dd:mm:yyyy.  Second is TRUE/FALSE values.  I just want a measure or a way to get the TRUE/FALSE value corresponding to the last time stamp.

 

For example, I have July 20th, 21st, 22nd.  And the corresponding TRUE/FALSE is TRUE, FALSE, TRUE.  In this case, I want to return TRUE because July 22nd is the latest date.

 

Thanks!

3 Replies