Forum Discussion
jdobbins
2 years agoFrequent Visitor
Caculated Measure Subtotal Help - Subtotal needs to sum each row instead of calculation at subtotal
Afternoon! I am working on a report where I am able to get my calculated field functioning fine for each row but the subtotal is just doing the same measure calculation instead of adding up the row values. This must be something I am not taking into account for DAX and would appreciate any guidance. Any tips on how to get my subtotal in a matrix to not calculate the measure at the subtotal level and just add the rows together to get the true SUM?
This is my measure:
Calculated Denial Amount =
(DIVIDE(
SUM('devro-PTEST-20231128_11-28'[Denied Amount]),
SUM('devro-PTEST-20231128_11-28'[# of Denials])
))
2 Replies
- AnonymousNot applicable
Alberto Ferrari explains very well what I think the solution to your problem is, which would be using the SUMX/VALUES functions in a measure instead.
https://youtu.be/6rgAkejrup8?si=wZc-yXI3cqkk0Ml8 - Ashish_Mathur
Super User
Hi,
Share the download link of the PBI file.