The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Hi All,
Currently i have calculated Rolling 30 days average , i want to display Rolling 30 days cummilitive amount.
Thanks,
VAdi
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
Thanks for the responce
User | Count |
---|---|
28 | |
10 | |
8 | |
6 | |
5 |
User | Count |
---|---|
33 | |
13 | |
12 | |
9 | |
7 |