Forum

Problem merging tab...
 
Notifications
Clear all

Problem merging tables from folders

20 Posts
2 Users
0 Reactions
357 Views
Riny van Eekelen
(@riny)
Posts: 1210
Member Moderator
 

Hard to tell. The files you uploaded definitely have hyphens. Can only wonder why there aren't there on your system. 

But I see another problem now. 25 seconds into the video the first column in the preview is named "Freehold". So, the sample file has its first row promoted to headers. It shouldn't.

Screenshot-2022-09-09-111751.png

Look at the applied steps in the Transform Sample File. The Source should look like this:

= Excel.Workbook(Parameter1, null , true)

 

I suspect you have this:

= Excel.Workbook(Parameter1, true, true)

When I change my file to this, I get the same errors as you.

 
Posted : 10/09/2022 5:33 am
(@usb)
Posts: 244
Honorable Member
Topic starter
 

Transform Sample For me it looks like this -

= Excel.Workbook(Parameter1, null , true)

See a screenshot
null.jpg


Your Freehold doesn't come like that?

We are working on the exact same files
So what could be the problem?
 
Posted : 10/09/2022 5:54 am
Riny van Eekelen
(@riny)
Posts: 1210
Member Moderator
 

Aha! Remove that Promote header step. Don't know whare that comes from.

In the Advanced Editor the code of the Sample File should look like this:

Screenshot-2022-09-09-120806.png

Edit: Uploaded the wrong screenshot. Above is the correct one.

 
Posted : 10/09/2022 6:01 am
(@usb)
Posts: 244
Honorable Member
Topic starter
 
Indeed in the Transform File I pasted the code you described in the picture and everything worked out!!!!
I wonder why this happened...
Thank you very much for all your patience and professional help at the highest level!!!
You saved me a lot of time!!

In addition to the command - Extracted Text After Delimiter
There is a command - the number of separators to be skipped
What does this command mean? What is the difference between 0 and 1?
 
 
Posted : 10/09/2022 8:10 am
Riny van Eekelen
(@riny)
Posts: 1210
Member Moderator
 

Remember the PQ parameters are zero-indexed. So, a zero will extract text after the first occurrence of the "-", a 1 will take the second, a 2 will take the third and so on.

Glad that I could help sort the problem.

 
Posted : 10/09/2022 8:32 am
Page 2 / 2
Share: