Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Issue regarding exists() function

Hi folks,

I have some problem regarding exists() function. I've country details in an excel file. And I've csv file that also contains country details.

I've loaded country details from excel file to qvw and I wanted to load country details from csv file that don't exist in excel file, but it is giving one wrong value.

I tried my best to figure out the issue but in vain. Can you guys help me out.

I've attached the excel file, csv file and a sample qvw for that. Kindly help me.

FYI..the issue is with Denmark country.

Thanks,

Surendra

1 Solution

Accepted Solutions
swuehl
MVP
MVP

In country_db.name, Denmark has a length of 13 instead of 7, so I think you need to use

trim(country_db.name) as country_db.name

when reading in, to eliminate the spaces in field value.

View solution in original post

3 Replies
swuehl
MVP
MVP

In country_db.name, Denmark has a length of 13 instead of 7, so I think you need to use

trim(country_db.name) as country_db.name

when reading in, to eliminate the spaces in field value.

sushil353
Master II
Master II

Hi,

I just downloaded your data and app...

for me it is working fine.. i just took the relative path load...

HTH

Sushil

Not applicable
Author

Thanks a lot Swuehl and Sushil

@ swuehl ,

It's working fine with your suggestion.

@ sushil kumar ,

I'm unable to figure out how you got the desired output.

Please can you please elaborate it.