如何添加下面的代码更高效?提前谢谢了。
Total Operating Profit =
var _totOther =
CALCULATE(
[mymeasure]
,dimAccount[FS Header Description] = "Total Other Operating(Inc)/Exp")
var _direct =
CALCULATE(
[mymeasure]
,dimAccount[FS Header Description] = "Direct Overhead without Allocations")
var _Result = _totOther + _direct
RETURN _Result
# table view
FS Header Description mymeasure
+ Total Other Operating(Inc)/Exp 5
+ Direct Overhead without Allocations 10
# Expected Result
5 + 10
尝试这个: