Forum Discussion
MHTANK
1 year agoHelper III
Previous Day Value
Date VALUE 01-11-2024 126 02-11-2024 494 08-11-2024 78 08-11-2024 88 25-11-2024 98 30-11-2024 108 02-12-2024 11...
- 1 year ago
Hi,
PBI file attached.
Hope this helps.
ThxAlot
1 year agoSuper User
PREV_LASTNONBLANK =
VAR __prev =
CALCULATE( LASTNONBLANK( DATA[Date], 0 ), DATA[Date] < MAX( DATA[Date] ) )
RETURN
CALCULATE( [SUM Value], DATA[Date] = __prev )PREV_OFFSET =
CALCULATE( [SUM Value], OFFSET( -1, ALLSELECTED( DATA[Date] ) ) )
MHTANK
1 year agoHelper III
Yes, this is work 👍🏻 in this data.
But in my original data (company's data) this is not work for the starting day of month. Can you please tell me what problems may be happening?