Forum Discussion
VikramAdi
3 years agoHelper II
cummilative line graph using Rolling 30 days
Hi All,
Currently i have calculated Rolling 30 days average , i want to display Rolling 30 days cummilitive amount.
Thanks,
VAdi
2 Replies
- Jihwan_KimSuper User
Hi,
I am not sure if I understood your question correctly, but please check the below and the attached pbix file.
Cumulative Measure = VAR __Date = MAX ( 'Date'[Date] ) VAR __Table = ADDCOLUMNS ( DATESINPERIOD ( 'Date'[Date], LASTDATE ( 'Date'[Date] ), -30, DAY ), "__30Avg", [Rolling 30 Days Average] ) VAR __Result = SUMX ( __Table, [__30Avg] ) RETURN __Result- VikramAdiHelper II
Thanks for the responce