Microsoft Fabric Community Conference 2025, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount.
Register nowThe Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.
I am trying to get two tables to talk to one another for a variance analysis. However instead of a variance analysis by the total I want it by state. For example I have TX actuals for April of $14k and a budget of $10k. Therefore I would have a positive variance of $4k.
However, even if I create a relationship between the tables by state the budget will show TX with the total sales budget for the month rather than $10k. What am I missing?
could you pls provide some sample data and the expected output?
Proud to be a Super User!
Sure. Please see the attached screenshot. As you can the total does calculate correctly but the state is taking the total budget minus what the state budget is creating a large variance. The sales column is getting data from one table while the budget column is getting data from another table. Let me know if this makes sense.
Hi,
Share the download link of the PBI file.
I am not sure how to share a PBI doc. Sorry I am new to PBI
can't find out the root cause by this screenshot. It's better to provide some sample data(raw data) to craete a small solution, then apply it to your actual data.
Proud to be a Super User!
Sure here is what I have of sample data
Actuals Table
Budget Table
From this I created two measure a sales
and a budget
and here is the variance formula
Yet whats happening is it is taking the total budgeted sales of $1,481,256 for the month of May (all states) and subtracting it from the $24,560.95 of actual sales when it should be subtracting $17k and not the $1.5M
it looks correct based on the sample data you provided
Proud to be a Super User!
Could it be a formatting issue between the two tables?
User | Count |
---|---|
141 | |
71 | |
70 | |
54 | |
53 |
User | Count |
---|---|
208 | |
95 | |
64 | |
61 | |
57 |