Forum Discussion
Average measure (over time)
Here is a measure expression that works. Note that it has nested iterator so performance may be poor at large scale.
New Avg FTE =
SUMX (
DISTINCT ( 'Fact'[Employee] ),
CALCULATE (
AVERAGEX (
DISTINCT ( 'Date dimension'[Datekey] ),
CALCULATE (
AVERAGE ( 'Fact'[FTE] )
) + 0
)
)
)
Regards,
Pat
- Luuk_J5 years agoFrequent Visitor
Hi Pat,
Thank you very much for your suggestion/answer.Although your solution works in the sample file, it unfortunately does not in the original PBIX file I am working with.
It may have to do with the bigger number of dimensions I am working with in the original file, but I have to look into it.
I am planning to do that later this week and I will post an update afterwards.
Kind regards,
Luuk