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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

Check out the October 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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

Top Solution Authors