Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
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).