Forum Discussion
Anonymous
2 years agoNot applicable
Create a new measyre
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...
- 2 years ago
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
vanessafvg
Community Champion
2 years agotry 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