Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
augustaszvirblis
Contributor II
Contributor II

Excel load fails

augustaszvirblis_0-1731585670751.png

Each year, a new Excel file is added to the data load editor as shown in the screenshot. The excel file load for 2023 year fails - there are no added new rows to the table PiniginePramaTemp.

Maybe someone smart can figure this out?

Labels (1)
13 Replies
p_verkooijen
Partner - Specialist II
Partner - Specialist II

@augustaszvirblis you do not get an error, just no additional lines fetched??

First setup a empty request by selecting the excel file for 2023

See if this produces rows on itself.

 


I see you manually setup the fieldnames, after the first table load you better tell Qlik to concatenate the data. Use CONCATENATE(PinigineParaTemp) instead of PinigineParaTemp:

Or
MVP
MVP

2023 is the only one which doesn't seem to have a 7-line header defined. Is that intentional?

Past that, it's hard to guess without the file...

augustaszvirblis
Contributor II
Contributor II
Author

Yes, I get no error, just no additional lines.

"First setup a empty request by selecting the excel file for 2023". After I do that I get no rows, but the code works with no error. (as shown in the screenshots)

augustaszvirblis_2-1731586913190.png

 

augustaszvirblis_1-1731586858982.png

 

augustaszvirblis_0-1731586842316.png

 

augustaszvirblis
Contributor II
Contributor II
Author

Some columns appear, some don't

augustaszvirblis_3-1731587147152.png

 

p_verkooijen
Partner - Specialist II
Partner - Specialist II

@augustaszvirblis what do you see when just selecting the Excel through Select data

 

It should give you this kind of view, you should be able to see file content

p_verkooijen_0-1731587295359.png

 

augustaszvirblis
Contributor II
Contributor II
Author

augustaszvirblis_0-1731587496850.png

Here you go

p_verkooijen
Partner - Specialist II
Partner - Specialist II

@augustaszvirblis  this seems ok, there is no where condition on loading this file only field renames right?

Do you have lines loaded if you only load 2023 data 

 

Seeing the Syn table link field you have to use CONCATENATE(tablename) for each load after the first/initial load to this tablename to successfully combine the 2023 data to the old data. 

p_verkooijen_0-1731587838289.png

 

Could you share the reload log if it's not working, and a screenshot of the data model viewer

augustaszvirblis
Contributor II
Contributor II
Author

"there is no where condition on loading this file only field renames right?"

No, there is no Where statements:

augustaszvirblis_0-1731588437828.png

Still getting the synthetic keys:

augustaszvirblis_1-1731588531394.png

Sorry, what do you mean by relaod log?

p_verkooijen
Partner - Specialist II
Partner - Specialist II

Hi @augustaszvirblis If you get a Synthetic key there are multiple tables containing same fields and others you have to fix this first.

For example

Tmp:
load * inline [
DayGoal, Date,
123, 15-1-2023
113, 20-2-2023
22, 2-5-2023
340, 21-9-2023
];

Tmp:
load * inline [
DayGoal, Date, Type
152, 20-9-2024, A
111, 20-9-2024, B
122, 21-9-2024, A
90, 21-9-2024, B
];


Will result in 3 tables

The first will be Tmp containing only a $Syn1 link Field (based on DayGoal and Date)

The second will be Tmp-1 containing the $Syn1 link Field (based on DayGoal and Date) and the extra field Type

The third is the $Syn1Table, containing the $Syn1 link Field (based on DayGoal and Date) and the common fields DayGoal and Date

  • p_verkooijen_0-1731589945381.png

 

When you use CONCATENATE(Tmp)

Tmp:
load * inline [
DayGoal, Date,
123, 15-1-2023
113, 20-2-2023
22, 2-5-2023
340, 21-9-2023
];

CONCATENATE(Tmp)
load * inline [
DayGoal, Date, Type
152, 20-9-2024, A
111, 20-9-2024, B
122, 21-9-2024, A
90, 21-9-2024, B
];

 

There is only 1 table Tmp containing all fields, the Type field will be empty for the first records.

  • p_verkooijen_1-1731590080028.png

 

If you manually reload you see this as "the log"

  • p_verkooijen_2-1731590132674.png

When you schedule the log you can download the log in a text file.