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 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 |
---|---|
120 | |
69 | |
68 | |
57 | |
50 |
User | Count |
---|---|
166 | |
82 | |
68 | |
65 | |
54 |