March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi,
I have merged a budget and balance report but I now need need to show the variance in a column next to the budget.
Here's how the page looks:
Here's a snapshot of the worksheet columns. The balance and budget are in the same column for merging purposes. Not sure if that matters. There are 25 different categories not just the "Contract Income" above:
Thanks in advance!
Solved! Go to Solution.
Is this what you were looking for? You can simply create a measure for Balance and another one for Budget and add them to the matrix table.
If this is the solution then please mark it accordingly.
thanks for your help, here's the table format:
You attached screenshots again. Use the below:
Ah sorry here you go
Scheme Name | Category | Amount | Quarter | Type |
Bridgend Stepdown | Contract Income | 3053.22 | Q1 | Budget |
Bridgend Stepdown | Contract Income | 3053.22 | Q1 | Budget |
Bridgend Stepdown | Contract Income | 3053.22 | Q1 | Budget |
Bridgend Stepdown | Contract Income | 3053.22 | Q2 | Budget |
Bridgend Stepdown | Contract Income | 3053.22 | Q2 | Budget |
Bridgend Stepdown | Contract Income | 3053.22 | Q2 | Budget |
Bridgend Stepdown | Contract Income | 3053.22 | Q3 | Budget |
Bridgend Stepdown | Contract Income | 3053.22 | Q3 | Budget |
Bridgend Stepdown | Contract Income | 3053.22 | Q3 | Budget |
Bridgend Stepdown | Contract Income | 9159.68 | Q1 | Balance |
Bridgend Stepdown | Contract Income | 3053.23 | Q2 | Balance |
Bridgend Stepdown | Contract Income | 3052.23 | Q2 | Balance |
Bridgend Stepdown | Contract Income | 3953.23 | Q2 | Balance |
Bridgend Stepdown | Contract Income | 4610 | Q2 | Balance |
Bridgend Stepdown | Contract Income | 4610 | Q2 | Balance |
Bridgend Stepdown | Contract Income | 4610 | Q3 | Balance |
Is this what you were looking for? You can simply create a measure for Balance and another one for Budget and add them to the matrix table.
If this is the solution then please mark it accordingly.
This worked perfectly, thanks for your patience and help! Rich
Hi,
Variance of what-against-what? Balance-Budget or Balance Q1-Balance Q2 or something else? Do you have measures behind Balance and Budget or are they just labels?
Hi @MNedix
It would be the balance figure minus the budget figure. There aren't any measures behind the balance and budget, I just named them that to differentiate what they are.
Thanks
Then a simple measure could probably do the job (replace 'Table' with your table):
Variance =
VAR _balance = CALCULATE(SUM('Table'[Amount]),'Table'[Type]="Balance")
VAR _budget = CALCULATE(SUM('Table'[Amount]),'Table'[Type]="Budget")
RETURN
_balance - _budget
Then add the measure to the table visual. But keep in mind that this assumes that in Column Type you have both Balance and Budget (at least this is what I understood from your screeshot).
If this solved your problem pleae mark it as the solution.
Hi @MNedix thanks for your reply. I've got the variance in the table now but it's coming up twice. Any ideas how I can change this to show just one on the far right column please?
I don't really understand where the Amount and Variance Amount are coming from in the Values of your matrix. Can you paste your initial data in table format so I can try replicating your problem (you only put a screenshot)?
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
123 | |
80 | |
59 | |
58 | |
44 |
User | Count |
---|---|
182 | |
119 | |
82 | |
68 | |
53 |