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
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]?
User | Count |
---|---|
119 | |
77 | |
58 | |
52 | |
46 |
User | Count |
---|---|
171 | |
117 | |
63 | |
57 | |
51 |