Forum Discussion
DAX - Max Date
Hi
I have a table of property addresses each address has a unique reference number. I also have a facts table that contains many property refrence numbers and dates. I need to perform a DAX function to output the MAX date the relates to each property reference
Property Table
| Property Reference | Address | DAX function MAX Date |
| 1234 | 100 Dax High Street | 31/12/2021 |
| 4321 | 15 Calculate Road | 18/12/2021 |
Facts Table
| Property Reference | Date |
| 1234 | 01/01/2021 |
| 1234 | 14/06/2021 |
| 1234 | 31/12/2021 |
| 4321 | 02/04/2021 |
| 4321 | 13/06/2021 |
| 4321 | 14/06/2021 |
| 4321 | 11/11/2021 |
| 4321 | 18/12/2021 |
thank you
Richard
cottrera , a new column in the property table
maxx(filter(Facts , Facts[Property Reference] = property[Property Reference] ), Facts[Date] )
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
2 Replies
- amitchandakSuper User
cottrera , a new column in the property table
maxx(filter(Facts , Facts[Property Reference] = property[Property Reference] ), Facts[Date] )
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 - cottreraPost Prodigy