Forum Discussion
Rally00
4 years agoFrequent Visitor
Help Max date
Hello everyone,
for a table I should group the values by max date. In particular, for each ID I should have the maximum date
| ID | Date |
| 0WO1i000001yEKeGAM | 12/03/2022 |
| 0WO1i000001yEKeGAM | 14/03/2022 |
| 0WO1i000001yEKeGAM | 15/03/2022 |
| 0WO1i000001yEKeGAM | 16/03/2022 |
| 0WO1i000001yEKeGAM | 17/03/2022 |
| 0WO1i000001yEKeGAM | 13/03/2022 |
| 0WO1i000001yEKeGAF | 16/03/2022 |
| 0WO1i000001yEKeGAF | 17/03/2022 |
| 0WO1i000001yEKeGAF | 13/03/2022 |
I expect a similar result
| ID | Date |
| 0WO1i000001yEKeGAM | 17/03/2022 |
| 0WO1i000001yEKeGAF | 17/03/2022 |
Thank you
Dom
- Anonymous4 years ago
Remove the extra closing square bracket .[Date]]
9 Replies
- mh2587Super User
Just select the earliest date option in the field section by clicking drop option you will see earliest date option
- AnonymousNot applicable
hi Rally00 ,
i think the is :
Table 2 = SUMMARIZE('Table','Table'[ID],"DATE", LASTDATE('Table'[Date]));i have tried this function with this example :ID Date
0WO1i000001yEKeGAM 12/03/2022 0WO1i000001yEKeGAM 14/03/2022 0WO1i000001yEKeGAM 15/03/2022 0WO1i000001yEKeGAM 16/03/2022 0WO1i000001yEKeGAM 17/03/2022 0WO1i000001yEKeGAM 13/03/2022 0WO1i000001yEKeGAF 16/03/2022 0WO1i000001yEKeGAF 18/03/2022 0WO1i000001yEKeGAF 13/03/2022 and the the result was :
ID DATE
0WO1i000001yEKeGAM 17/03/2022 00:00:00 0WO1i000001yEKeGAF 18/03/2022 00:00:00 hope that it can help 😄
Did I answer your question? Thanks to mark my post as a solution 😁
- Rally00Frequent Visitor
Thank you very much for the answer but where do I insert the function? 😁
.
- AnonymousNot applicable