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 team
I have a table with the following layout. Capitalized and Costs are imported from files. The delta is the calculation between those 2 (costs-capitalized). How can i create a calculated measure to perform the calculation in PBI?
Tx
Measure Group | Total | |
Capitalized | 100 | |
Costs | 200 | |
delta | 100 | =Costs-Capitalized |
Solved! Go to Solution.
try this
delta =
VAR capital =
CALCULATE ( SUM ( [table[total] ), table[measure group] = "Capitalized" )
VAR costs =
CALCULATE ( SUM ( [table[total] ), table[measure group] = "Costs" )
VAR result = costs - capital
RETURN
result
Proud to be a Super User!
try this
delta =
VAR capital =
CALCULATE ( SUM ( [table[total] ), table[measure group] = "Capitalized" )
VAR costs =
CALCULATE ( SUM ( [table[total] ), table[measure group] = "Costs" )
VAR result = costs - capital
RETURN
result
Proud to be a Super User!
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 | |
72 | |
49 |
User | Count |
---|---|
143 | |
131 | |
109 | |
64 | |
55 |