Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.
Hi Guys,
What is the best practice in power bi for getting averages at different granularities?
E.g. If my data in power bi is at client account level and I want the average balance across accounts this would be straight forward as the data is already at account level. However if I wanted the average balance across the clients I would need to sum and group by the client id or name first then take the average.
Now normally I would create a summarised table using a group by to transform the data before taking the average at client level. However I'm just wondering if this is the correct way I should be doing it, and there's not a formula in dax I should use instead.
I'd be keen on your thoughts regarding this.
Kind Regards
Glyn
Solved! Go to Solution.
Thanks guys,
It seems the way I'm already doing it works fine so I'll continue that way.
Thanks for you help.
Kind Regards
Glyn
Thanks guys,
It seems the way I'm already doing it works fine so I'll continue that way.
Thanks for you help.
Kind Regards
Glyn
You can use the DAX function All Except with Calculate i.e Calculate (Average(Balance),AllExcept(Client Name)).
Hi @GlynMThomas ,
You can use averagex(summarize(table,column,"name",expression),column).
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the September 2025 Power BI update to learn about new features.