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

CrossTable Error

Hi Community, I have a question regarding the CrossTable script in Qlik Sense. 

I think I'm following the script properly but maybe not as I keep getting the attached error. 

I've attached the spreadsheet in question and if someone could help me to solve the issues I'd be extremely grateful.

Thanks!

1 Solution

Accepted Solutions
MindaugasBacius
Partner - Specialist III
Partner - Specialist III

CrossTable(Servise, Data, 2)

LOAD Date,

     [Guest Name],

     value,

     staff,

     service,

     clean,

     comfort,

     location,

     Overall

FROM

(ooxml, embedded labels, table is Sheet1);

Results:

Screenshot_1.jpg

View solution in original post

3 Replies
stabben23
Partner - Master
Partner - Master

Hi,

try Crosstable("Guest Name"   ........) or [Guest Name]

sunny_talwar

Guest Name is already a field, try some other field name as you cannot repeat field names

CrossTable([FieldName 1], [Value Field], 2)

LOAD Date,

           [Guest Name],

           ....

FROM ....

MindaugasBacius
Partner - Specialist III
Partner - Specialist III

CrossTable(Servise, Data, 2)

LOAD Date,

     [Guest Name],

     value,

     staff,

     service,

     clean,

     comfort,

     location,

     Overall

FROM

(ooxml, embedded labels, table is Sheet1);

Results:

Screenshot_1.jpg