Skip to main content
Announcements
Qlik Introduces a New Era of Visualization! READ ALL ABOUT IT
cancel
Showing results for 
Search instead for 
Did you mean: 
smilingjohn
Specialist
Specialist

Field not found

Hi All,

CrossTable (year,data,7)

Load

Dept,

Blazer,

Dot,

Black,

Black&'|'&year&'|'&Dot as %Key

From........

When i load this script i get an error saying that Field year not found.

what should i do to bring the year in here as a key ,

I have considered year in cross table, but still i want to include year in making a key .

Please suggest me what needs to be done

Thanks in advance

1 Solution

Accepted Solutions
Anil_Babu_Samineni

Yes, Instead of load all fields. You can use LOAD *, ....

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful

View solution in original post

5 Replies
Anil_Babu_Samineni

Because, you are doing cross table over here, I suggest you to use resident / preceding load to achieve this

Sample:

CrossTable (year,data,7)

Load

Dept,

Blazer,

Dot,

Black

From........

Final:

NoConcatenate

Load Black, year, Dot, Black&'|'&year&'|'&Dot as %Key resident Sample;


Drop Table Sample;

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
qlikview979
Specialist
Specialist

Hi

in your field Year is not there only having below fields that's why its showing error.

Dept,

Blazer,

Dot,

Black,

smilingjohn
Specialist
Specialist
Author

HI Anil

Thanks for the reply .

If i follow your  2nd step that is as follows

Final:

NoConcatenate

Load Black, year, Dot, Black&'|'&year&'|'&Dot as %Key resident Sample;


In my real time application i have many fields , do i nned to consider all the fields in the resident load and then drop the priginal table ?


Anil_Babu_Samineni

Yes, Instead of load all fields. You can use LOAD *, ....

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable

Hello John,

can you please send me your source file?