Forum Discussion
xariet
3 years agoHelper I
Calculating 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...
Ritaf1983
3 years agoSuper User
Hi xariet
Try :
average over years =
CALCULATE(
AVERAGE('table'[Sum]),
ALLEXCEPT('table', 'table'[Country])
)
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
- Ritaf19833 years agoSuper User
Hi xariet
Please attach your data table in a format that it is possible to work with ( not a picture and not a visual, data from data view) and I will check it
- xariet3 years agoHelper I
Unfortunately I don't have an option to attach files here...
- Ritaf19833 years agoSuper User
You can save it on one drive and attach a link :
or just pase a table :
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...