Forum Discussion
Average over time vs. sliced average
- 9 years ago
Hi swong,
I have reviewed your shared pbix file. And I find that there is no problem with the formula of the measures. Instead of using Date hierarchies as Axis, you should use the Date column itself as Axis, then it will work as expected. :smileyhappy:
Here is the modified pbix file for your reference. :smileyhappy:
Regards
Thanks for the response!
I'm still fairly new to PowerBI, so I'm not sure what you mean.
I would create a new measure showing my average revenue for everything? How would I include the AL or ALLEXCEPT? Woud I be able to affect both measures with different filters?
I tried making some new
measure = ALL('RevenueTable'[Revenue])
but the measure can't be loaded: A table of multiple values was supplied where a single value was expected.
- Anonymous9 years agoNot applicable
Try:
AllMeasure = CALCULATE( SUM('RevenueTable'[Revenue]), ALL('RevenueTable') ) SomeMeasure = SUM('RevenueTable'[Revenue])