Forum Discussion
Calculating Average YTD headcount
Hi, I would like to calculate the aVERAGE ytd Headcount. I have already calculated the headcount
2 Replies
- Greg_DecklerCommunity Champion
Sagejah9 Is this per month or ? This looks like a measure aggregation problem. See my blog article about that here: https://community.powerbi.com/t5/Community-Blog/Design-Pattern-Groups-and-Super-Groups/ba-p/138149
The pattern is:
MinScoreMeasure = MINX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
MaxScoreMeasure = MAXX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
AvgScoreMeasure = AVERAGEX ( SUMMARIZE ( Table, Table[Group] , "Measure",[YourMeasure] ), [Measure])
etc. - v-angzheng-msftCommunity Support
Hi, Sagejah9
May I ask if your problem has been solved? Calculating Average YTD headcount on a monthly or annual basis?
Could you share some dummy data and draw a simple picture to show your expected visual so that i may work out with a workaround?😉
Best Regards,
Community Support Team _ Zeon Zheng
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.