Forum Discussion
Calculating an average over multiple entries
- 6 years ago
Hi Anonymous ,
You could refer to my sample for details. If this is not what you want, please correct me and inform me your expected output.
Best Regards,
Zoe ZhiIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous , Try like
divide(sumx(values(Table[project]), max(Table[Project Span])),distinctCOUNT(Table[project]))
or
avergageX(summarize(Table[project],"_1", max(Table[Project Span])), divide(sum(_1]),count([_1])))
Hello thanks for replying
I have tried this and it doesn't quite work, I don't think the summation is based on the individual project span. I am trying to figure out how to sum all the project span per project. The distinct count part works but the sum part doesn't.