Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
3 years ago
Solved

Date Difference with max date - row date

Hi,

 

PF  below Table, Need to calculate column based on the Logic field which i updated, Need to consider the max date in Table and to show the difference with current row like updated in Result column.

I have tried , instead of max date it comin 31-12-2023, not working. Anyone help

 

DateLogic(Max Date - row date)result
01-05-202305-05-2023  - 01-05-20234
01-05-202305-05-2023  - 01-05-20234
01-05-202305-05-2023  - 01-05-20234
01-05-202305-05-2023  - 01-05-20234
02-05-202305-05-2023  - 02-05-20233
03-05-202305-05-2023  - 03-05-20232
04-05-202305-05-2023  - 04-05-20241
05-05-202305-05-2023  - 05-05-20240

 

Thanks,

 

  • Hi Anonymous 

     

    If you want a calculated column, you can use 

    Column = VALUE(MAX([Date])-[Date])

     

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

2 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    Anonymous Should be something like:

    Column = ([Max Date] - [Date]) * 1.
  • v-jingzhang's avatar
    v-jingzhang
    Community Support

    Hi Anonymous 

     

    If you want a calculated column, you can use 

    Column = VALUE(MAX([Date])-[Date])

     

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