Discussion Board for collaboration related to Creating Analytics for QlikView.
I am trying to replace blank text field values using the following expression.
For some reason this formula does not work and blank rows were not replaces with 'Texting'.
if(isnull(text), 'Testing', text)
It doesnt work. Any other options?
if(len(trim(text))=0, 'Testing', text)
It may be that these are not null values on a row (where the if(isnull syntax would work) rather places where there are no values due to associations between tables not joining up?
In these cases you can't easily populate values, but there are usually ways around it.
Can you please give a bit more detail about your data model and where you want the Nulls replaced?
if(IsNull(Text) or Text= '', 'Testing', Text)
Steve you are right man it is the data model issue and hence need to handle in script.
Can you explain how to handle this scenario in script?
One option could be this?
Set Nullinterpret = 'NULL';
NullasValue *; // You can define the fields
Set NullValue = 'Testing';
Can try this:
In chart Expression:
Even in script also we can use