Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

How to select records corresponds to null values?

Hello All,

I am having a table say

Tab1:

Col1, Col2

a1, 1

a2,

a3, 2

a4,

a5, 3

Now I have to select those column's value from Col1 where Col2 is null in Qlikview.

Can we get it using expression or we need to work at backend?

Regards,

Balraj

12 Replies
alexandros17
Partner - Champion III
Partner - Champion III

You must set in the script dummy values for null in order to make it selectable in your tables ...

Anonymous
Not applicable
Author

Is it possible through expression at UI?

alexandros17
Partner - Champion III
Partner - Champion III

You can use something like:

If(Isnull(Sum(MyValue)), 'NO', Sum(MyValue))

and in multibox you can set a similar expression

sasikanth
Master
Master

HI

Please go through the thread ,

NULL handling in QlikView

you may fing ans to your questions

kushalthakral
Creator III
Creator III

Hi Balraj

you can restrict them in the script itself like using Load * from where Col 2=null

This is the dummy code just to give u an overview about that

Regards

Kushal Thakral

Anonymous
Not applicable
Author

I have to display only those value where they are null in the table.

I am not asking to use aggregate function...

alexandros17
Partner - Champion III
Partner - Champion III

In a dimension you mean? In that case use :

If(Isnull(MyField), 'NO', MyField)

Anonymous
Not applicable
Author

Yes, If one dimension(D1) is null than I have to select other dimension(D2) values for those null values.

Above expression is not working...

alexandros17
Partner - Champion III
Partner - Champion III

Obviously you put your field name in place of MyField....