Hello,
I have a complex data which I tried to create a sample of below - it looks odd but it has all columns I need for the output.
Essentially I have a field called EW_SO which when I roll up to a level of File date (3 different dates) I'd like to calculate the previous EW_SO. Sounds simple but I am unable to figure it out.
Expected outcome
| DA_FileDate | Sum_EW_SO | Sum_EW_Prevous_SO |
| 31-10-23 | 410,559 | 4,374 |
| 28-04-23 | 4,374 | 1,697,090 |
| 31-10-22 | 1,697,090 | - |