Forum Discussion
guilherme_gq
8 years agoHelper I
Cumulative value Based in other Measure
Hi! I trying to calculate a Average Headcount (basically is the sum of Monthly HeadCount / number of months). The Monthly HeadCount is the measure that calculates a total value for the month. fo...
- 8 years ago
Hi guilherme_gq,
I would suggest you create a date table if you don't have one. Please check out the demo in the attachment.
Measure = CALCULATE ( AVERAGEX ( SUMMARIZE ( 'Table', 'Calendar'[MonthNum], "v", [Monthly HeadCount] ), [v] ), FILTER ( ALL ( 'Calendar' ), 'Calendar'[Date] <= MAX ( 'Calendar'[Date] ) && 'Calendar'[Date] <= MAX ( 'Table'[Date] ) ) )Best Regards,
Dale
- 8 years ago
v-jiascu-msft
8 years agoMicrosoft Employee