Forum Discussion

sshiny's avatar
sshiny
Icon for Helper II rankHelper II
4 years ago
Solved

How to get the latest date

 PFA the data sample. In the last order date , I need a single value-the last order date for the particular tag

 

  • Hi sshiny 

     

    Create a new column with the following code. This will give you the last order date for every tag. 

    Last Order Date = CALCULATE(MAX('Table'[Order Date]),ALLEXCEPT('Table','Table'[Tag ID]))

     

    Best Regards,
    Community Support Team _ Jing
    If this post helps, please Accept it as Solution to help other members find it.

2 Replies