Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
I have following table and I need the repeated row with latest date. I need only those values which was signed latest
Name | User | Date Checked Out | ||
ABC | OOO | 2017-12-14T11:47:00 | ||
ABC | XXX | 2017-12-14T11:57:00 | ||
ABC | HHH | 2017-12-14T11:17:00 | ||
DEF | VAA | 2017-12-17T11:47:00 | ||
DEF | KAS | 2017-12-17T11:00:00 |
Here I need result like below:
ABC | XXX | 2017-12-14T11:57:00 | |
DEF | VAA | 2017-12-17T11:47:00 |
Can someone please help?
Solved! Go to Solution.
Try:
Latest date by name =
VAR _LatestDate = CALCULATE(MAX(Table[Date Checked out]), ALLEXCEPT (Table, Table[Name]))
RETURN
COUNTROWS (SUMMARIZE (FILTER(Table, Table[Date Checked out] = _LatestDate), Table[Name], Table[User, Table[Date Checked Out])
add the three fields to a table visual, add the [Latest date by name] measure to the filter pane and set the value to equals 1
Proud to be a Super User!
Paul on Linkedin.
Try:
Latest date by name =
VAR _LatestDate = CALCULATE(MAX(Table[Date Checked out]), ALLEXCEPT (Table, Table[Name]))
RETURN
COUNTROWS (SUMMARIZE (FILTER(Table, Table[Date Checked out] = _LatestDate), Table[Name], Table[User, Table[Date Checked Out])
add the three fields to a table visual, add the [Latest date by name] measure to the filter pane and set the value to equals 1
Proud to be a Super User!
Paul on Linkedin.
I am sure there are other ways to do this but you can add a column to your table that determines if the Date Checked Out is the lastest for that name
Proud to be a Super User! | |
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
70 | |
68 | |
43 | |
34 | |
26 |
User | Count |
---|---|
88 | |
52 | |
45 | |
39 | |
38 |