Forum Discussion
ssk_1984
2 years agoHelper II
Calculate column level average by multiple category
Hi Team, help to add column to calculate average by multiple category. Here i want to calculate the Average of logged hours by adding new column for the criteria, Outliers should be no, group by...
amitchandak
2 years agoSuper User
ssk_1984 , Try a new column like
averageX(filter(Table, [Employee ID] = earlier( [Employee ID] ) && [Converted Month] = Earlier([Converted Month]) ), [Logged])
or
if([Outlier] = "No", averageX(filter(Table, [Employee ID] = earlier( [Employee ID] ) && [Converted Month] = Earlier([Converted Month]) ), [Logged]), blank())
Power BI DAX- Earlier, I should have known Earlier: https://youtu.be/CVW6YwvHHi8
https://www.youtube.com/watch?v=cN8AO3_vmlY&t=17820s