Forum Discussion
avarage
hi,
thanks, I got the correct values for each year, but if I just want an average considering all the months of the selected years, how do I do that?
Hi, Paulo123
In theory, the value of measure will change with the context. Can you show how you lay it out in the visual? What's the formula you used in the end?
Janey
- Paulo1234 years agoFrequent Visitor
Hi, first i make a sum:
-SOMA SAIDA = CALCULATE(SUM(EX[VALOR]),E_S[Column1]="S")
second i calculate the average:
- Med = AVERAGEX(VALUES(CALENDARIO[Date].[Mês]),[SOMA SAIDA]).
.
here we can see that the sum is working correctly:
changing the layout, i get the annual average correctly:
but i want to get an average considering all months of all selected years, as the result of this excel:
- v-janeyg-msft4 years ago
Community Support
Have you tried tamerj1's advice? If your problem has been solved, you can mark your answer as solution to close the thread. If not, please feel free to ask me.
Best Regards,
Community Support Team _ Janey- Paulo1234 years agoFrequent Visitor
I don't know if I applied the solution correctly, but I created another column in the calendar with month and year and this column was used in the calculation.