Forum Discussion
Anonymous
7 years agoNot applicable
Creating Slicer
I have data that looks like this: What I'm aiming to do is create a slicer that is based on the average of the estimated annual revenue column, grouped by year. I've found this tricky to...
judspud
7 years agoSolution Supplier
Hi Anonymous ,
Please see the following column formula;
Average =
var year = year(Table1[CloseDate])
return
CALCULATE(SUM(Table1[Estimated Annual Revenue]),year(Table1[CloseDate])=year)/CALCULATE(COUNT(Table1[Estimated Annual Revenue]),year(Table1[CloseDate])=year)
Please let me know if this meets your requirements :)
Thanks,
George