Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
AVW1983
New Member

Adjusting my query to changes in Source file

Hello everyone, 

I need to extract data from a pdf table on a quarterly basis and this time Power Query reads out the heading in a Column 11 instead of Column 10.  Is there any chance to get the first two rows back to column 10? The issue is that the following rows are in correct order. I would be pleased to get some tips on how to handle this.

 

Screenshot of original pdf file

AVW1983_2-1702468506080.png

 

 

 

Original Query                                                            

AVW1983_0-1702468204045.png

New Query

AVW1983_1-1702468335675.png

 

 

1 ACCEPTED SOLUTION
isjoycewang
Super User
Super User

Hi @AVW1983 ,

 

Demo file attached. Please try below steps:

1. Add a new [Index] column

isjoycewang_0-1702482746172.png

 

2. Create new conditional columns based on [Index]

isjoycewang_1-1702482817091.png

 

3. Remove incorrect columns and [Index]

isjoycewang_2-1702482872144.png

 

Best Regards,

Joyce

View solution in original post

2 REPLIES 2
AVW1983
New Member

Hi Joyce, 

thank you so much. This worked well for me 🙂

isjoycewang
Super User
Super User

Hi @AVW1983 ,

 

Demo file attached. Please try below steps:

1. Add a new [Index] column

isjoycewang_0-1702482746172.png

 

2. Create new conditional columns based on [Index]

isjoycewang_1-1702482817091.png

 

3. Remove incorrect columns and [Index]

isjoycewang_2-1702482872144.png

 

Best Regards,

Joyce

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.