Many 2 many and last value of a group

This is a very lively community!
In the meanwhile I found this post where @sam.mckay shows these 2 techniques
Calculate the most recent value with DAX in Power BI - #2 by sam.mckay