Power Query - Dynamically find table location from different pages

sara121

New Member
Joined
Jul 7, 2022
Messages
23
Office Version
  1. 365
Platform
  1. Windows
Hi Friends,

I have PDF files with the same structure but different contents. When I transform a PDF file, table 1 locates on Page 3. In the other PDF file, table 1 is located on Page 4.

Is there a way to dynamically locate the table from different pages?

Thanks lot!
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Maybe. I had a problem where the table I needed was identified differently for no apparent reason. I overcame the problem by adding a column that counted the number of rows in the tables:
Power Query:
= Table.AddColumn(FilteredTablesOnly, "Rows", each Table.RowCount([Data]), type number)
Luckily the table I was looking for had a LOT more rows than the others, so the next step just filtered the table like this:
Power Query:
= Table.SelectRows(AddedRowsColumn, each [Rows] > 15)
That way, the only row left was the one I needed, and I could proceed from there.
 
Upvote 0

Forum statistics

Threads
1,223,959
Messages
6,175,645
Members
452,663
Latest member
MEMEH

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top