Forum Discussion
Anonymous
7 years agoNot applicable
Null values in calculated measure in matrix visual
Hello everyone, I have created a matrix visual wit a dimension in rows (Store), a dimension in columns (Product) and with a calculated measure as Value (Measure1). I need to show on...
- Anonymous7 years ago
Finally, I solved the issue changing the second condition of the IF in the measure, like this:
Measure =
IF(
CALCULATE(
DISTINCTCOUNT(Table1[Product]);
ALLSELECTED(Table1[Product])
)
=
CALCULATE(
DISTINCTCOUNT(Table1[Product]);
ALLSELECTED(Table1[Product]);
ALLSELECTED(Table1[Store])
);
SUM(Table1[Units]))
Anonymous
7 years agoNot applicable
Finally, I solved the issue changing the second condition of the IF in the measure, like this:
Measure =
IF(
CALCULATE(
DISTINCTCOUNT(Table1[Product]);
ALLSELECTED(Table1[Product])
)
=
CALCULATE(
DISTINCTCOUNT(Table1[Product]);
ALLSELECTED(Table1[Product]);
ALLSELECTED(Table1[Store])
);
SUM(Table1[Units]))