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

Shape the future of the Fabric Community! Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions. Take survey.

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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