Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
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 variations of DAX but can't come up with the correct answer. For example, for Austria, I want to see 20,290.5 across all years.
Solved! Go to Solution.
Hi @xariet
Try :
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
Hi @xariet
Try :
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
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
Unfortunately I don't have an option to attach files here...
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-...
Hi,
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.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 41 | |
| 38 | |
| 32 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 65 | |
| 59 | |
| 31 | |
| 26 | |
| 25 |