Powerbi 本期值为空的本期与上期值比较
我正在做一个比较,除了CY的当前值为空,而PY的当前值不为空之外,其他一切都正常 有什么想法吗Powerbi 本期值为空的本期与上期值比较,powerbi,dax,Powerbi,Dax,我正在做一个比较,除了CY的当前值为空,而PY的当前值不为空之外,其他一切都正常 有什么想法吗 Mat Usage Sum = SUMX( VALUES('All data new'[Component Material]), CALCULATE( SUMX( VALUES('All data new'[Component Description]), [YOY Component Diff] )
Mat Usage Sum =
SUMX(
VALUES('All data new'[Component Material]),
CALCULATE(
SUMX(
VALUES('All data new'[Component Description]),
[YOY Component Diff]
)
)
)
只需勾选空白值并选择默认值:
Mat Usage Sum =
IF(
SUMX(
VALUES('All data new'[Component Material]),
CALCULATE(
SUMX(
VALUES('All data new'[Component Description]),
[YOY Component Diff]
)
)
) = BLANK(),
"Blank",
"Not Blank"
)