Forum Discussion
VikramAdi
Helper II
3 years agocummilative 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_Kim
Super 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- VikramAdi
Helper II
Thanks for the responce