The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi All,
Thank you in advance for helping me. I've been using BI for a year or so, and I'm finally getting to create some interesing conent. My latest roadblock is in how to calculate variance analysis where the current month data is blank at the lowest level (i.e. product). The following table illustrates my problem. Revenue Actual for Products C & D is 0. The underlying data is acutally blank - no sales for the current month. It displays as zero, fine, but then all of my variance columns are blank - no calcuations. No matter what I do, I can't seem to get BI to display the proper result. Rev Var Disc SPLY should be -12,331 and all other should be 0.
CustNo | PartCode | Revenue Actual | Revenue SPLY | YoY Rev Var | Rev Price Actual | Rev Price SPLY | Rev Price Var SPLY | Rev Var Vol SPLY | Rev Var Disc SPLY | Rev Var New SPLY | Rev Var Mix SPLY |
1 | A | 276,972 | 0 | 276,972 | 0.44 | 0.00 | 0 | 0 | 0 | 276,972 | 0 |
2 | B | 82,503 | 243,359 | -160,857 | 9.88 | 9.88 | 0 | -160,857 | 0 | 0 | 0 |
1 | C | 0 | 12,331 | -12,331 | 0.00 | 2.14 | |||||
2 | D | 0 | 56,920 | -56,920 | 0.00 | 5.97 |
My calculations are:
Hi @Anonymous ,
Best Regards
Community Support Team _ chenwu zhu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.