Forum Discussion
How to find rows associated with latest date value
- 7 years ago
Hi itspossible
From the screenshot, it seems unique "post id" associated with each unique instance of "message", so i use "post id" as a test.
create a new table from your table
Table = FILTER(ALL(Table1),[date]=CALCULATE(MAX(Table1[date]),ALLEXCEPT(Table1,Table1[post id])))
Original table
New created table
Best Regards
Maggie
Hi there, while the code provided works perfectly for those 3 columns referenced in it, it fails its intended purpose when I add the other columns into the query - particularly shares_count, comments_count, likes_count and reactions_total_count. I am back to seeing multiple entries for post_id. How can I fix this?
So close to a solution. Anyone have any suggestions?
- itspossible7 years agoFrequent Visitor
bump
- Zubair_Muhammad7 years ago
Community Champion
Your dropbox link doesn't work
Nevertheless, please see if this blog post is useful
http://www.excelnaccess.com/grouping-summarizing-dax-vs-power-query-m/