Forum Discussion
Calculating average over multiple tables
- 8 years ago
Hi,
You must create a calendar table and create a relationship from the Date column of the appended table to the date column of the Calendar Table. In the Calendar Table use the =FORMAT(Calendar[Date],"mmmm") formula to extract the month name from the Date and =YEAR(Calendar[Date]) to extract the Year. In your visual, drag the Year and Month from the Calendar Table.
Hope this helps.
I would probably use something like:
AVERAGEX(UNION(Table1,Table2),[Score])
- ermuelle8 years agoRegular Visitor
Thanks. I've tried this, but I only get the overall average across the time period. I can't look at it by month. I want to be able to look at the total average (referred + managed satisfaction) by month.
- Ashish_Mathur8 years agoSuper User
Hi,
You must create a calendar table and create a relationship from the Date column of the appended table to the date column of the Calendar Table. In the Calendar Table use the =FORMAT(Calendar[Date],"mmmm") formula to extract the month name from the Date and =YEAR(Calendar[Date]) to extract the Year. In your visual, drag the Year and Month from the Calendar Table.
Hope this helps.
- ermuelle8 years agoRegular Visitor
Thank you! I think I found a solution.
- Barrizm2 years agoNew Member
Just what I was looking for.
thanks