Forum Discussion
Remove errors is not working
- 4 years ago
I discovered you can remove the error before the Transform File step.
It seems like no matter what transformation i apply, that error will always appear. Again, this error comes from me trying to import the 14th page of a PDF for an entire folder, except this one file doesn't have 14 pages (instead it only has 11)
It seems like the Trasnfmorm File(2) is looking for the 14th page and hence whenever it is getting triggered, an error occurs.
Can you share the code of the Transform File(2) from Advanced editor?
Let's see if we cna make it dynamic.
Also, it woudl be better if you can share your sample file as it would be easier to troubleshoot.
- eddd834 years agoResolver I
Here's the advanced editor for Trasnfmorm File(2)
let
Source = (Parameter2) => let
Source = Pdf.Tables(Parameter2, [Implementation="1.3"]),
Page1 = Source{[Id="Page014"]}[Data]
in
Page1
in
Source- PC27904 years agoCommunity Champion
Try:
let
Source = (Parameter2) => let
Source = Pdf.Tables(Parameter2, [Implementation="1.3"]),
Page1 = Source{[Id="Page013"]}[Data]
in
Page1
in
SourceI think thsi will avoid the error however the page 14 will not be included in further transformations.
Please try once.
- eddd834 years agoResolver I
This is problematic because each pdf could have a different number of pages. Is there a way to create a variable or something, so that it can import the maximum number of pages?