Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
Check it out now!Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more
Hi
I need to create a measure that calculates all values on a daily basis for all dates from (today minus 1 month) up to today. Tried DATEADD and MONTH functions but can't get it to work. Any help appreciated. Thanks.
Solved! Go to Solution.
@Anonymous , Try a measure like this
Rolling = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],today(),-1,MONTH))
or
Rolling = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],today(),-30,Day))
@Anonymous , Try a measure like this
Rolling = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],today(),-1,MONTH))
or
Rolling = CALCULATE(sum(Sales[Sales Amount]),DATESINPERIOD('Date'[Date ],today(),-30,Day))