Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello all,
i have the below data in excel
and then i have a powerbi table
i would like to have another column with the variance per month.
any idea?
thank you
Solved! Go to Solution.
Hello you probably want to make three measures (if you havent already made the first 2)
1. Actual=SUM(Table1[Actual])
2. Budget=SUM(Table1[Budget])
3. Variance=[Actual]-[Budget]
Drag them all into your table
Hello, you need to have the three measures i mentioned earlier, each dragged in. I think you have just a single measure there with the actual/budget as a column header.
Hello you probably want to make three measures (if you havent already made the first 2)
1. Actual=SUM(Table1[Actual])
2. Budget=SUM(Table1[Budget])
3. Variance=[Actual]-[Budget]
Drag them all into your table
thank you @samdthompson that worked great but ihave a follow up.
i have a matrix and if i add the measure "Variance" at that matrix it appears at both columns like below
how can i remove the column marked with blue?
thanks in advance
Hi,
These measures should work
Budget total = calculate(sum(Data[amount]),data[type]="budget")
Actual total = calculate(sum(Data[amount]),data[type]="actual")
Variance = [budget]-[actual]
To your Table, visual, drag Month and Year from the Calendar table and the 3 measures written above.
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
90 | |
84 | |
76 | |
49 |
User | Count |
---|---|
143 | |
140 | |
109 | |
69 | |
55 |