Forum Discussion
ROG
Responsive Resident
3 years agototal by month showing wrong value.
Hey guys, I have the table below with the closing base showing the correct value by day, but the total by month is wrong. It's giving me the average, and for the business logic it should be givi...
- 3 years ago
I used the dax below and it works.
Monthly Closing Month - 30D = CLOSINGBALANCEMONTH([Daily Closing Base - 30D], '🔎Calendar'[Date])
tamerj1
Community Champion
3 years agoHi ROG
Please try
Closing Base 2 = SUMX ( VALUES ( 'Table'[Month Name Long] ), [Closing Base] )
ROG
Responsive Resident
3 years agoThansk tamerj1 Unfortunately, it's giving me the exact amount I have.
What I need is a dax measure that shows the amount of last date of the month, and not the total for that month.
The result will say how much the business closed the month.
- ROG3 years ago
Responsive Resident
I used the dax below and it works.
Monthly Closing Month - 30D = CLOSINGBALANCEMONTH([Daily Closing Base - 30D], '🔎Calendar'[Date])