Categories
NULL Filter Values

Summary
Hor do I validate, deal with, a NULL filter value?
Content
I placed in my filter box. (FieldValue = 'R') Yet sometimes there is no 'R' and my report blows up. How do we deal with that?
Version
18
Answers
-
As I answered in my other thread: correct the source data or use data flows to correct it by putting a placeholder value like 'N/A', 'Insufficient data' or 'Data Quality Issue' to make things visible.
Remember - it's always the tool that SHOWS data issues which gets blamed. Not the source which delivers garbage.
0 -
I only want to see records that are marked 'R' It's not that it is null it is the fact that on this day there are no rows marked 'R' Can the tool offer a better user friendly message?
0 -
Try removing the filter and changing the actual column expression to something like ...
Case when (EOAWUSER_TYPE = 'R' then 'R')
else ' ' endThe report shouldn't blow up since it pulls all data. Only the "R"s will show. Might not be perfect but thats all I can think of.
Good Luck!
0