Forum Discussion
Make empty data points show up as zero
- Anonymous6 years ago
HI Anonymous,
I'd like to suggest you confirm if these empty data did not really exist in your tables first. For this scenario, these empty data are expanded by the current category combo and you can't direct replace these values.
You need to extract category value as a new table and use this on your visual, then write measure formula to lookup value based on raw table category and new table value, replace the not matched parts with zero records.
Replacing null values in matrix visual
Regards,
Xiaoxin Sheng
Hi!
How would i replace missing data point as in this example with a measure/value?
as suggested:
Measure =
VAR __MyCalc = <some calc>
RETURN
IF(ISBLANK(__MyCalc),0,__MyCalc)
works fine but if i would go for:
Measure =
VAR __MyCalc = <some calc>
VAR _MyOtherCalc = <some siple calc>
RETURN
IF(ISBLANK(__MyCalc),_MyOtherCalc,__MyCalc)
it does not show anything in matrix, how to overcome this?