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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors