Forum Discussion
Measure repalce blank with 0 vs Column
My first measurement looks like this :
Mesure_1 =
FILTER(data_test,
data_test[day]
)
)
But this measure doesn't always show me the values, so I tried two methods:
- modify as follows
FILTER(data_test,
data_test[day]
)
)
var c = IF(ISBLANK(b), 0, b)
RETURN c
2. Create a new column
col_no_blanck = IF(ISBLANK([Measure_1 ]), 0, [Measure_1 ])
Results:
with method a ==> My Table segment is no longer sensitive to my filter segment
with method b ==> incorrect values in segment Table 2496 instead of 332
Do you have any tips for me, please?
2 Replies
- AnonymousNot applicable
Hi, GOT2021
Thanks for parry2k's reply. Are you currently addressing this problem? Based on your description, I tried to reproduce it, but unfortunately, it didn't work if the nb_id is a filed. So, if the nb_id is a measure, I think it's the problem. As parry2k said, can you provide some of the non-sensitive data for us to reproduce your situation.Best Regards,
Yang
Community Support Team