Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Independent validation for trusted, AI-ready data integration. See why IDC named Qlik a Leader: Read the Excerpt!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

ISNULL() not working in listbox/multibox

Hi,

I have a chart where I am using a calculated dimension: : if(isnull(TargetFlag),' null','not null').

This is working fine in the chart as a column, however when i give the same condition in the listbox/multibox it doesn't show me the option 'null'.

Also clicking 'null' in the chart doesn't filter it. Not null works fine. Please advise.

Capture.PNG

Capture.PNG

15 Replies
sunny_talwar

Why don't you create this in the script?

LOAD if(isnull(TargetFlag),' null','not null') as NullFlag

Anonymous
Not applicable
Author

NullFlag is not showing 'null'.

Capture.PNG

sunny_talwar

Are you doing any joins after your create this flag? If you are, I would suggest to create this flag at the very last resident load

Anonymous
Not applicable
Author

I am doing an outer join.

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

You Can use the null variables like.

NullAsNull *fieldlist


Or NUllAsValue


Set NullValue = null();



Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
sunny_talwar

Create this flag in a resident load

Table1:

LOAD ...

Join (Table1)

LOAD ...

FinalTable:

LOAD *,

          YourFlagExpression

Resident Table1;

Drop Table Table1;

sunny_talwar

I don't think that will work if this variable is declared before the join

Anonymous
Not applicable
Author

I need to keep the two tables separate.

sunny_talwar

Not dropping Funnel table... it will still be there... Can you post your script as text instead of image?