Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
On a daily basis, I receive a PDF report that I would like to upload via Power Query.
However, the data is not always structured the same way. After the necessary cleaning, this is where I stranded:
What needs to happen is that the value in column 9 should end up in column 8 (which I currently do by mergng the 2 columns).
And the final result should look like this ((column 2 and column 9)
However, as the number of columns isn't always the same, this provokes errors when I get new pdf's in:
What is also good to know is that sometimes all data is nicely under each other (same column), sometimes it's not. And also the number of records that should be extracted from the pdf, is not always the same either (sometimes it's 1, sometimes it's 4, ...)
Solved! Go to Solution.
Hi @Anonymous ,
To my knowledge, we could not smartly know where the data structure has changed.
If the original column names change, the subsequent reference steps should be manually changed accordingly.
For more detailed explanation, please refer to: Dealing with errors - Power Query | Microsoft Docs
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
To my knowledge, we could not smartly know where the data structure has changed.
If the original column names change, the subsequent reference steps should be manually changed accordingly.
For more detailed explanation, please refer to: Dealing with errors - Power Query | Microsoft Docs
Best Regards,
Eyelyn Qin
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 4 | |
| 4 |