Skip to main content
Announcements
Customer Spotlight: Discover what’s possible with embedded analytics Oct. 16 at 10:00 AM ET: REGISTER NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Replacing Null text values with a value

Hi -

I am trying to replace blank text field values using the following expression.

=if(WildMatch([Text],'*NULL*'),'Testing',[Text])

For some reason this formula does not work and blank rows were not replaces with 'Texting'.

Please help.

Thank you!

12 Replies
vardhancse
Specialist III
Specialist III

Hi,

Can try this:

In chart Expression:

=IF(Len(Trim(Dim))=0,'N/A',Dim)

Even in script also we can use

afsarshaikh
Creator
Creator

Try this,

=if( len([Text] < 0, 'Testing', [Text])

)

Regards,
Afsar Shaikh
Project Manager- QlikView Dev. & Support
Afsar Shaikh
Email- afsar.shaikh@live.com
prieper
Master II
Master II

Might be worth to challenge your datamodel.

Are you supposed to have missing entries, or can you fix somehow in the script by reducing linked fields (e.g. using LEFT JOIN or LEFT KEEP).

Can you post an example in order to validate, whether it comes from data or from the datamodel?