Forum Discussion
pakovic
4 years agoHelper I
Calculating the average in the graphs
In this example the accumulated per month is calculated and the line values are the average per month of Euros/Litres, but this average is different in one graph and in the other. For example in Nove...
- 4 years ago
pakovic , A per me
22.70 coming from divide(sum(Table[Euros]), sum(Table[Litres]))
the other one is
averageX(Values(table[Product]), calculate(divide(sum(Table[Euros]), sum(Table[Litres])) ))
// Avg of rows
pakovic
4 years agoHelper I
But, is correct 22,70 or 23,52 ? I think the correct is 23,52
amitchandak
4 years agoSuper User
pakovic , A per me
22.70 coming from divide(sum(Table[Euros]), sum(Table[Litres]))
the other one is
averageX(Values(table[Product]), calculate(divide(sum(Table[Euros]), sum(Table[Litres])) ))
// Avg of rows