Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago

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,

 

Emilio