Forum Discussion
Matrix: Measure Totals
- 6 years ago
Hello HenryJS
What is throwing you off is the thinking that the total column has anything to do with the individual date columns. Your formula is calculating correctly in the context of no date:
If you want the total column to sum the amount from the individual days you will need the change it to a SUMX formula.
Actual Timesheets = SUMX ( VALUES ( <your date column here> ), [Unique Workers] - [Unique Workers] * [Holiday (%)] )There is no need for the ( ) around the [Unique Workers] * [Holiday (%)] part of the formula, multiplication is calculated before subtraction.
Hello HenryJS
What is throwing you off is the thinking that the total column has anything to do with the individual date columns. Your formula is calculating correctly in the context of no date:
If you want the total column to sum the amount from the individual days you will need the change it to a SUMX formula.
Actual Timesheets = SUMX ( VALUES ( <your date column here> ), [Unique Workers] - [Unique Workers] * [Holiday (%)] )
There is no need for the ( ) around the [Unique Workers] * [Holiday (%)] part of the formula, multiplication is calculated before subtraction.