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
I am trying to caluculate current year revenue(column C) by subtracting prior revenue (column B) from revenue to date (column A). In theory, the formula would be A - B = C. Would I use some form of SUM formula to subtract these? I'm new to Power BI and need help, please! I've worked on this several hours, with little success. All suggestions are welcome!
Solved! Go to Solution.
Try with:
C=Calculate (Sum(Table[A]))-Calculate (Sum(Table[B]))
Hi alhyde,
What is your current situation?
The formula provided by Vvelarde should have the same results with the formula below:
C = A - B
Adding a blog for reference:
Understanding Context Transition
If that formula didn't meet your requirements, then please post back.
Regards
What if one of these tables is a measure?
Can you do C = A - B if B is [B]?
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 | |
84 | |
84 | |
73 | |
49 |
User | Count |
---|---|
143 | |
132 | |
110 | |
65 | |
55 |