Forum Discussion
Filtering to Latest Time Stamp
- 10 years ago
Please take a look at below screenshot, I don’t have the problem you mentioned above. Are you using the latest Version: 2.36.4434.381 64-bit (June 2016)?
Best Regards,
Herbert
According to your description, I create a dataset and create two columns as below. Not sure if it is what you want.
If you still have issues with this, could you please provide some sample data and expected output result?
Latest_in_Group =
IF (
Table1[Date]
= CALCULATE ( MAX ( Table1[Date] ), ALLEXCEPT ( Table1, Table1[Group] ) ),
"Group Latest"
)Latest_in_Name =
IF (
Table1[Date]
= CALCULATE ( MAX ( Table1[Date] ), ALLEXCEPT ( Table1, Table1[Name] ) ),
"Name Latest"
)
Best Regards,
Herbert
- nickelcap10 years agoFrequent Visitor
Hi Herbert,
Thank you very much for the suggestion. I attempted to implement it, however I did not seem to quite get the output I was hoping for. Here's a snip of what I'm looking at:
Example
You can see that for 00011117 the 'Group Latest' is for an earlier time stamp (2016/07/15 2:17:38 AM) than the true latest time stamp (2016/07/15 6:17:36 AM). Looking at my other report, it looks like the time stamps I was working with only had the date. Could adding time to the mix be causing the issue?
Thanks,
Dan
- v-haibl-msft10 years agoMicrosoft Employee
Please take a look at below screenshot, I don’t have the problem you mentioned above. Are you using the latest Version: 2.36.4434.381 64-bit (June 2016)?
Best Regards,
Herbert- nickelcap10 years agoFrequent Visitor
Hi Herbert,
Yes, I am using the latest version of Power BI Desktop. I made sure that I had the same syntax you showed, and realized that for the last column reference I had managed to select the wrong column! My mistake. The formula is now working as desired.
Thank you very much!
Dan