Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
pascos88
Creator II
Creator II

Invalid Expression :(

Directory;

LOAD ID,

     Nome,

     Cognome,

    Max(Cell) as MaxC

FROM  

MappingLoad.xlsx

(ooxml, embedded labels, table is Foglio1)

Group By Cell;

Someone can see the error in this expression?

Regards

Pasquale

1 Solution

Accepted Solutions
sunny_talwar

You need to group by fields which are not aggregating. Try this:

LOAD ID,

     Nome,

     Cognome,

    Max(Cell) as MaxC

FROM 

MappingLoad.xlsx

(ooxml, embedded labels, table is Foglio1)

Group By ID, Name, Cognome;

View solution in original post

2 Replies
tamilarasu
Champion
Champion

Hi Pasquale,

Try,

Directory;

LOAD ID,

     Nome,

     Cognome,

    Max(Cell) as MaxC

FROM

MappingLoad.xlsx

(ooxml, embedded labels, table is Foglio1)

Group By ID, Nome, Cognome;

All non-aggregated fields must be in a group by clause.

sunny_talwar

You need to group by fields which are not aggregating. Try this:

LOAD ID,

     Nome,

     Cognome,

    Max(Cell) as MaxC

FROM 

MappingLoad.xlsx

(ooxml, embedded labels, table is Foglio1)

Group By ID, Name, Cognome;