Forum Discussion
xariet
Helper I
3 years agoCalculating Average
Hi All, I need to do a very simple calculation, but I am stuck. Please help. I need to see in the table the countries, years, and average per country across all years. I have tried different variatio...
Ashish_Mathur
Super User
3 years agoHi,
Assuming the Year column is from the Calendar Table, write this measure
Avg = averagex(allexcept(Calendar,Calendar[Year]),[sum_sales])
Ensure that there is relationship (Many to One and Single) from the Date column of the Data Table to the Date column of the Calendar Table.
Hope this helps.