Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Announcements
QlikView Fans! We’d love to hear from you.
Share your QlikView feedback with the product team… Click here to participate in our 5-minute survey.
Rules, plus terms and conditions, can be found here.
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
MVP
MVP

Re: Issue regarding exists() function

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.

3 Replies
MVP
MVP

Re: Issue regarding exists() function

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
Honored Contributor II

Re: Issue regarding exists() function

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

Re: Issue regarding exists() function

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.

Community Browser