Forum Discussion
Variance Analysis in Power BI
Hi
I would like to solve a variance analysis problem in Power BI which I could do in Excel, but it is less interactive.
So I would like to implement a 'mix' element in the variance analyis. E.g. I would like to break down the YoY net sales variance to volume-mix-price. Price would be the price difference times the new quantity.
The mix is the most important here. I would like to see how the product mix changes within a given customer. To do that, I will need to have a growth rate of the customer and I will have to compare it to the product growth.
E.g. there is a customer buying two products, A and B. They bought 20 of A and they bought 5 of B as well, so total quantity is 25, share of A is 80%. Next year, they bought 25 of A but they bought 25 of B as well. So the quantity of A has increased but its share within the mix is down to 50%. If the price of A is USD 100, then net sales would be USD 2,000 in the first year and USD 2,500 in the second. (To make this example simple, let's assume that there is no price change.) The variance is USD 500.
So the quantity sold to this customer increased by 100% (from 25 to 50), but Product A grew only by 25%, therefore there is a negative mix variance on this product. If A had grown by 100% as well, the sales would have been USD 4,000, the total YoY net sales would have increased by 2,000 if it weren't for the change in mix. That brings is down to USD 500.
Volume: USD 2,000
Mix: USD (1,500)
Price: nil
Total net sales variance: USD 500
Do you have any idea how I could do this in Power BI? I was not able to apply customer growth to products... It would be even better if this can be flexible, let's say I want to see the mix of different versions of each product, I could do that by drilling down. Is there any way?
Thank you
4 Replies
- v-chuncz-msftCommunity Support
Based on my experience, drill down is an appropriate way. You may also submit an idea via https://ideas.powerbi.com/forums/265200-power-bi.
- C_Mucke4New Member
v-chuncz-msftThank you for your reply, I will submit this as an idea. But do you have any opinion how this could be solved in DAX? Drilling down is only a dream at the moment, it would be great to have on customer level first where every customer have their own growth rate.
Thank you,
Csaba
- v-chuncz-msftCommunity Support