Forum Discussion
Get Average based on several categories
- 6 years ago
Create a new column like. Link :https://www.dropbox.com/s/2uioqvtxghzr0uo/AverageBaedonCategory.pbix?dl=0
Avg Time = var _newavg =AVERAGEX(filter(Sheet1,Sheet1[Name]=EARLIER(Sheet1[Name]) && Sheet1[Area]=EARLIER(Sheet1[Area]) && Sheet1[Task]=EARLIER(Sheet1[Task]) && Sheet1[Time]<10),Sheet1[Time]) return if(Sheet1[Time]<10,Sheet1[Time],_newavg)Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges
Connect on Linkedin
Create a new column like. Link :https://www.dropbox.com/s/2uioqvtxghzr0uo/AverageBaedonCategory.pbix?dl=0
Avg Time =
var _newavg =AVERAGEX(filter(Sheet1,Sheet1[Name]=EARLIER(Sheet1[Name]) && Sheet1[Area]=EARLIER(Sheet1[Area]) && Sheet1[Task]=EARLIER(Sheet1[Task]) && Sheet1[Time]<10),Sheet1[Time])
return
if(Sheet1[Time]<10,Sheet1[Time],_newavg)
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks. My Recent Blog -
Winner-Topper-on-Map-How-to-Color-States-on-a-Map-with-Winners , HR-Analytics-Active-Employee-Hire-and-Termination-trend
Power-BI-Working-with-Non-Standard-Time-Periods And Comparing-Data-Across-Date-Ranges
Connect on Linkedin
Thanks amitchandak . That worked an absolute treat!