Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.
Hi
I would like to achieve the below in PBI through DAX (this is simple version of the data)
As you can see below the total cell (tota) references its previous month cumulative value.
Here is the cell reference for Jan. It does not reference a previous month
I have attempted this in multiple ways using the DAX earlier column function, or creating individual total measurements for each month but it crashed the file.
Any help is very much appreciated!
Solved! Go to Solution.
@h4n1234 , You need to create a measure like this
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(date),date[date] <=max(date[Date])))
refer if needed
Rolling Months Formula: https://youtu.be/GS5O4G81fww
@h4n1234 , You need to create a measure like this
Cumm Sales = CALCULATE(SUM(Sales[Sales Amount]),filter(allselected(date),date[date] <=max(date[Date])))
refer if needed
Rolling Months Formula: https://youtu.be/GS5O4G81fww