Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
raceberos
Partner - Contributor III
Partner - Contributor III

Invalid expression:

im wondering why the i always get Invalid expression

please see attached file for reference.

your help is really appreciated.

thanks.

1 Solution

Accepted Solutions
oknotsen
Master III
Master III

The problem is most like caused by the script BEFORE this part.

Could you share some more of the script? Specifically the part where you get the error AND the section before it?

May you live in interesting times!

View solution in original post

6 Replies
oknotsen
Master III
Master III

The problem is most like caused by the script BEFORE this part.

Could you share some more of the script? Specifically the part where you get the error AND the section before it?

May you live in interesting times!
rubenmarin

Hi Reynaldson, you can try adding all fields to the 'group by' clause (expect those inside the Sum), so:

Group by COMPANY, BRANCH..., GLACCTNAME;

ishanbhatt
Creator II
Creator II

Hi Reynaldson,

Please add all the fields in Group by function except Aggr fields.

Maybe it can solve your problem.

kaanerisen
Creator III
Creator III

Hi Reynolds,

Onno actually seems right. I think the previous part of the script seems problematic.

But let me make a lucky guess

JournalEntryItems and JEItemsTemp tables are exactly matched over column names and column count. So qlik sense automatically concatenate two tables. During the execution of "Rename Tables" section, there is no JEItemsTemp in memory. Because it has concatenated to main table which is dropped already So, you should add Noconcatenate above "JEItemsTemp" to force the qlik sense not concatenate the table.

Noconcatenate

JEItemsTemp:

load ...

Oops I realized that your group by clause is wrong. You should add all non-aggregated fields to your group by clause

Hope this will help

sasiparupudi1
Master III
Master III

Group By Clause must list all the non-Aggregated fields

raceberos
Partner - Contributor III
Partner - Contributor III
Author

Good day to all thanks to your response, i already figured out the problem in my script.  i miss ";" in the script before this was loaded... thanks to all