Forum Discussion
Transpose imported pdf table before joining it
- Anonymous2 years ago
Hi Syndicate_Admin ,
I create three tables as you mentioned.
Then I go to the Power Query and choose Merge Queries. Below are the steps and the M codes.
= Table.ExpandTableColumn(#"Merged Queries1", "T3", {"Number9", "Number10", "Number11", "Number12"}, {"T3.Number9", "T3.Number10", "T3.Number11", "T3.Number12"})Finally you will get what you want.
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hello! Thanks for the reply!
The solution is good, but in my case I need to create tables from different PDFs, and several of them have different number of pages, between 5 and 25 each. I need something more automatic or generic. Can something like this be done from power query?
Hi Syndicate_Admin ,
I create three tables as you mentioned.
Then I go to the Power Query and choose Merge Queries. Below are the steps and the M codes.
= Table.ExpandTableColumn(#"Merged Queries1", "T3", {"Number9", "Number10", "Number11", "Number12"}, {"T3.Number9", "T3.Number10", "T3.Number11", "T3.Number12"})
Finally you will get what you want.
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.