The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
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 |
---|---|
78 | |
73 | |
38 | |
30 | |
28 |
User | Count |
---|---|
107 | |
100 | |
55 | |
49 | |
45 |