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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
lbalestieri
Contributor II
Contributor II

Question about Qs-Variable extention

Hello there! Need help here.

Im using the extention Qs-Variable (or Variable input) in the "input box" format

Im trying to make some filters using "if" commands and im getting an error when i put nothing as input. fe:

When i put a number, isnull(vSelector)= false

if(isnull(vSelector),

//Then
'nothing',
//Else
'something'
)

but when i delete the input, the isnull(vSelector) still false. Also i dont know wich data type is input box is using (since theres nothing there). I need help to make isnull(vSelector)=true.

 

 

 

1 Solution

Accepted Solutions
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

You should try this.

if(isnull(vSelector) or vSelector='',

//Then
'nothing',
//Else
'something'
)

 

Regards,

Kaushik Solanki

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

View solution in original post

1 Reply
kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

You should try this.

if(isnull(vSelector) or vSelector='',

//Then
'nothing',
//Else
'something'
)

 

Regards,

Kaushik Solanki

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