Forum Discussion
Max Date Filter per ID from another Table, using EARLIER (pbix included)
- 5 years ago
Using the calculated table with the SUMMARIZE() function solved my problem.
Make sure you summarize by whatever column you want, in my case the Clientnummer.
Followed up by the MAXX statement, that will return per record in the table (in this case, per Clientnummer) the maximum value of any column of another table (in this case, 'SnapshotDatum').
TEST2 = SUMMARIZE( 'DIM Klanten', 'DIM Klanten'[Clientnummer], "Max SnapshotDate", MAXX(RaiAssessmentsV2, MAX(RaiAssessmentsV2[SnapshotDatum])) )Cheers!
Titatovenaar2 , earlier is for current table operations. Also, the max from the other tables will not work like this.
refer 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8
Ok, I've seen those videos, and it was actually quite handy to look at those functions more closely.
However, in my situation I still don't know how to be able to filter a table using a MAX(date) based on an ID of a different table.
Any information on that?