Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Calculated column filtered by two columns value

Hi, I have this calculated table, it has rows with values, colums with date of creation truncated to weeks and a check in value. I need another colum with the value of the last week (creation week ...
  • amitchandak's avatar
    amitchandak
    6 years ago

    Try :

    New Column = sumx(filter(Table,[Creation] = (earlier([creation]) - 7) && [Check in] = (earlier([check in]) - 365)),[room nights])