Showing results for 
Search instead for 
Did you mean: 
guzurti New Member
New Member

Dynamic weighted average in graph

Hi everyone,


So I am quite new to PowerBI, and my knowledge of DAX is very limited. I am building a dashboard in which we would need a dynamic weighted value of the Grossmargin and turnover by consumer unit.

I would like to be able to filter by Product, month and city, and depending on how I filter I could see how the Grossmargin and turnover by consumer unit responds.

I would need the Grossmargin to be dynamically weighted depending on the product and total turnover of the city. Same for the turnover by consumer unit, but in this case weighted by product and sales in consumer units.


Please let me know If I explained myself properly. I can also share with you a sample dataset so you could find the proper way of dealing with this.


Many thanks,



Community Support Team
Community Support Team

Re: Dynamic weighted average in graph

Hi @guzurti ,

Could you please post some simple sample data and your desired result to have a test if possible? Please see this post regarding How to Get Your Question Answered Quickly:



Daniel He

Community Support Team _ Daniel He
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.