Skip to main content
Announcements
Qlik Launches Open Lakehouse and advanced agentic AI experience in Qlik Answers! | LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

How to use QUALIFY

Help in how to use qualify.

1 Solution

Accepted Solutions
tresesco
MVP

Hi,

it has been a long effort.

Lets try and check step by step:

Step1: Try to load the first table alone with Load * From.... . Is it going smooth? or getting that uniquness error?

if yes. It has nothing to do with qualify. your table is having multiple fields with same name; you have to identify that.

Once step1 is done will come up with step2.

View solution in original post

6 Replies
MayilVahanan

Hi

For whole table:

Qualify *;

Load * from datasourcename;

UnQualify *;

For Field name in table:

Qualify B;

Load A,B from tableName;

Please refer the help for further details

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

I have used the Qualify like below as I don't have chance to use *. it's getting Field names must be Unique

Qualify *;

Load column1,column2,........ from datasourcename;

UnQualify *;

MayilVahanan

Hi

In datasourcename, is there any same column name??

Thanks & Regards, Mayil Vahanan R
Please close the thread by marking correct answer & give likes if you like the post.
Not applicable
Author

Yes In one table it is name and in other table it is NAME. that's why it is getting field not found. please help

tresesco
MVP

Hi,

it has been a long effort.

Lets try and check step by step:

Step1: Try to load the first table alone with Load * From.... . Is it going smooth? or getting that uniquness error?

if yes. It has nothing to do with qualify. your table is having multiple fields with same name; you have to identify that.

Once step1 is done will come up with step2.

Not applicable
Author

Hi

QUALIFY will prefix field's name by table name like Table.Field

Beware of using it when you do some treatments on table.

It is better to use it only on the last table.

Don't forget to unqualify Fields you want to user as a key

Ex : Unqualify %K;

You may use a variable like

SET vUnqualify = Unqualify %K;

and then

$(vUnqualify);

So you have only one line to change

best regards

Chris