Forum Discussion

marculos's avatar
marculos
Regular Visitor
7 years ago
Solved

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  ...
  • PattemManohar's avatar
    7 years ago

    marculos Please try this as "New Table"

     

    ProductTableLatest = SUMMARIZE(Test12InputCalcTable,Test12InputCalcTable[Product],"Latest",MAX(Test12InputCalcTable[Date]))