Forum Discussion
Averages
What do the table(s) that are the source for your results look like? And, what formula did you use for the growth calculations?
this is the formula for the cases YOY
YOY Cs Growth % = divide([YTD Cases] - [YTD Cases Prev], [YTD Cases Prev],0)
for sales
YoY Growth % = DIVIDE([YTD Sales] - [YTD Sales Prev], [YTD Sales Prev],0)
does this help
- erik_tarnvik8 years agoSolution Specialist
Yes, somewhat. The problem here is that it is not intuitively obvious what a "total" of these YoY columns actually means. From the information you have provided my assumption is that to form the total, the measures are evaluated in the context of all three years, but that still means that the YTD for those three years still evaluates to YTD for this year, and the same applies for the previous year in order to calculate the growth. In some way, this is also reasonable interpretation of what that "Total" should mean, but I understand it is not what you want.
The way I would go about this is to remove the total in the table as it is hard to understand what it means anyway. If the average you want is still of value to the user, create a separate visual for that specifically that also clarifies for the user what it is exactly he or she is looking at.
- erik_tarnvik8 years agoSolution Specialist
BTW there is probably a way to get the totals to come out the way you want, but you would have to share the definition of all measures used in your definitions above. And any measure used in those measures and so on.
- edavila8 years agoHelper II
Thanks for your help and do you need to see the pbix or how you cna help me
thanks
- erik_tarnvik8 years agoSolution Specialist
Sure that would be ideal. If you can share through OneDrive or DropBox I'll see if I can figure it out. If you don't want to share your data with everyone on the internet, just send me a private message with the url for the data.