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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

loaded a table ? how it works?

here  @12:n is field in one table  and after loading the table i am  writing condition like this

where index (@12:n,'\gmaop')<1 or    index (@12:n,'*_new_yesuse*') <>1

1 Solution

Accepted Solutions
Not applicable
Author

index function tells the position of substring.

index (@12:n,'\gmaop')<1 or    index (@12:n,'*_new_yesuse*') <>1


index (@12:n,'\gmaop')<1 :

this condition will return the records if field @12:n contains value'\gmaop' at first place means all records starting with value'\gmaop'


   index (@12:n,'*_new_yesuse*') <>1


this condition will return records which are not started with value '*_new_yesuse*'.





View solution in original post

4 Replies
Not applicable
Author

index function tells the position of substring.

index (@12:n,'\gmaop')<1 or    index (@12:n,'*_new_yesuse*') <>1


index (@12:n,'\gmaop')<1 :

this condition will return the records if field @12:n contains value'\gmaop' at first place means all records starting with value'\gmaop'


   index (@12:n,'*_new_yesuse*') <>1


this condition will return records which are not started with value '*_new_yesuse*'.





Not applicable
Author

Sorry first condition result  should

index (@12:n,'\gmaop')<1 :

this condition will return the records if field @12:n contains value'\gmaop' at first place means all records starting with value'\gmaop' -- this one wrong


this condition will return records which do not contain value '\gmaop'.

Anonymous
Not applicable
Author

ok

Anonymous
Not applicable
Author

Pls explain me with proper answer  once again i am confused?