Forum Discussion
Aggregating based on 2 Groupings
- 8 years ago
Hi Brianoreilly,
You can create new calculated column below:
Date(M-Y) = FORMAT('Table1'[Date],"MMM") & "-" & YEAR('Table1'[Date])
Then create a measure to return project satisfaction:
Project Satisfaction = var temp=SUMMARIZE('Table1','Table1'[Date(M-Y)],'Table1'[Project],"Ave",AVERAGE('Table1'[Satisfaction Score]))
return
DIVIDE(COUNTX(FILTER(temp,[Ave]>=5),[Ave]),COUNTROWS(temp))Best Regards,
Qiuyun Yu
Hi Brianoreilly,
You can create new calculated column below:
Date(M-Y) = FORMAT('Table1'[Date],"MMM") & "-" & YEAR('Table1'[Date])
Then create a measure to return project satisfaction:
Project Satisfaction = var temp=SUMMARIZE('Table1','Table1'[Date(M-Y)],'Table1'[Project],"Ave",AVERAGE('Table1'[Satisfaction Score]))
return
DIVIDE(COUNTX(FILTER(temp,[Ave]>=5),[Ave]),COUNTROWS(temp))
Best Regards,
Qiuyun Yu
- Brianoreilly8 years agoHelper II
Hi Qiuyun Yu ,
Thank you so much for the solution.
There was no way in hell, I would of figured that out by myself.
Appreciate your diligent work.
Kind Regards,
Brian.