Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Displaying custom msg if there is a "Null Value"

Hi Stefan,

I am re framing the question below.and have attached a new qvw file null.qvw

Based on the "Group" selection we need to check the "FINAL" field  whether it has any null values or not.If there is any one null value, We Need to Give a Message in a Textbox  as " Yes final has a Nullvalue" or else " No null values".If no selection in the Group field the Text should  display "Final field has null values or not" based on the same condition.

Let me know if i need to re frame the question.

Thanks and Regards,

Regards,

Pooja.

Message was edited by: pooja prabhu

1 Solution

Accepted Solutions
swuehl
MVP
MVP

What about

='Result: ' & If(NullCount(test),'contains NULL','no nulls')

View solution in original post

7 Replies
swuehl
MVP
MVP

What about

='Result: ' & If(NullCount(test),'contains NULL','no nulls')

Not applicable
Author

Hi Swuehi,

Thanks for your response. Your solution is correct but it's not my requirement.

Here i don't want to create a list box for the field "test". I wanted to display the result based on the straight table changes. Bcz If we are using the calculated column for "Test" field. It should work.

Thanks,

Pooja

Anonymous
Not applicable
Author

Hi pooja:

You can write it on dimension or in load script

IF(IsNull(test),'Your Comment',test)

Regards

sasiparupudi1
Master III
Master III

=if(NullCount(test)=0,'No','Yes null value')

susovan
Partner - Specialist
Partner - Specialist

Hi Pooja,

Please check this attachment.

Warm Regards,
Susovan
swuehl
MVP
MVP

Not sure if I understand your request. Did I created a list box for the field test? I don't think so.

I just modified the text box expression, and I believe it's pretty much what you asked for in the blue text box above your chart.

Regards,

Stefan

Anonymous
Not applicable
Author

Change your dimension with this: IF(IsNull(test),'Your Comment',test)