Forum Discussion
ovetteabejuela
Impactful Individual
9 years agoDAX Simple Math | Not Averaging or Aggregating Properly or it is just me?
Hi COmmunity, Why is this not doing average: Num Den Column1 23.42 4479 A 24.36 5230 B 23.31 3823 C 23.81 5577 D 23.88 3948 E 23.87 5846 F
- 9 years ago
You could try this:
Measure = DIVIDE( SUMX( Table1; Table1[Num] * Table1[Den]); SUM(Table1[Den]) )
vanessafvg
Community Champion
9 years agoovetteabejuela well according to your calculation its coming up with the correct value. What are you trying to do?
- ovetteabejuela9 years ago
Impactful Individual
I want to achieve highlighted in yellow
asd = sorry about the field name but it is just Num * Den (23.42 * 4479 = 104898.2)
- vanessafvg9 years ago
Community Champion
- ovetteabejuela9 years ago
Impactful Individual
That is just like straight average, I'm doing some kind of reverse calculation here to get the correct average: