Forum Discussion
marculos
7 years agoRegular Visitor
New Table based on maxdate
Hi, I am trying to create a table of unique product codes and latest date using "New table" in Power BI. I need this so I can use the product code in a relationship. So e.g ProductTable1 ...
- 7 years ago
marculos Please try this as "New Table"
ProductTableLatest = SUMMARIZE(Test12InputCalcTable,Test12InputCalcTable[Product],"Latest",MAX(Test12InputCalcTable[Date]))
AkhilAshok
Solution Sage
7 years agoThis should work:
ProductTableLatest =
SUMMARIZECOLUMNS (
ProductTable1[SerialNumber],
"LatestDate", MAX ( ProductTable1[ProductDate].[Date] )
)