Forum Discussion
h4n1234
4 years agoFrequent Visitor
DAX help with circular referencing
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. ...
- 4 years ago
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
amitchandak
Super User
4 years agoh4n1234 , 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