Forum Discussion
Rolling 5 days back
- 6 years ago
Hi - Try below measure.
Rolling 5 Days = CALCULATE(SUM(Data[Value]),DATESINPERIOD(Data[Date],LASTDATE(Data[Date]),-5,DAY))
Refer date column in DATESINPERIOD(), and make sure its format is date.
I hope this will help.
Cheers!
Sanj
Hi - Try below measure.
Rolling 5 Days = CALCULATE(SUM(Data[Value]),DATESINPERIOD(Data[Date],LASTDATE(Data[Date]),-5,DAY))
Refer date column in DATESINPERIOD(), and make sure its format is date.
I hope this will help.
Cheers!
Sanj
- Anonymous6 years agoNot applicable
Nice it kinda works.
is it possible to set the three different colors(years) over each other.
Now i have a date format on the axis, so the years are after eacht other.
- sanjeev8036 years ago
Helper I
Hi - I guess this is not possible in power BI till now.
Please mark previous reply as solution if that works for you.
Kudos are even nice.
Cheers!
Sanj