Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Comparing not sequencial days

Hello!

I need to compare a result of a project that changes almost every day. However, we can have some day with no changes and therefore with same result as previous day. But the source system gives me the figures as below, just showing the days that had variances. So I need to have a measure as column Var below.

Can you please help me?

Thanks!

 

DateResultVar
01/01/2019 $ 150,052 $         0
02/01/2019 $ 148,041 $ -2,011
04/01/2019 $ 151,052 $  3,011
06/01/2019 $ 150,850 $   -202

3 Replies