Reputation: 15
I have 2 columns and I am trying to get the average of step counts per id in a power bi measure. Would be great if someone faced a scenario like this and shed some light on it.
Should be giving me "avg. 9"
Upvotes: 0
Views: 47
Reputation: 15
Trying AvgStepsById = AVERAGEX(VALUES(Table[id]),CALCULATE(MAX(Table[step count]))) worked! Thank you Stachu
Upvotes: 0