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

A new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.

Reply
acmwib
New Member

Power Query from sharepoint list row shifting error

I run a query in Excel to get data from a Sharepoint list. In the columns to the right of the sharepoint data in excel, I have manual entries that I need to remain linked with the same row through data refreshes. Right now, the manual entry on the last row just keeps being moved to the new last row when new items are added. For example, I can start with something that looks like this in Excel:

 

Sharepoint Column     Manual Entry Column

Item 1                           A

Item 2                           B

 

If I add an Item 3 to the Sharepoint list and then refresh the data in excel to import it, I end up with 

Sharepoint Column     Manual Entry Column

Item 1                           A

Item 2                           

Item 3                           B

 

What I'm going for is

Sharepoint Column     Manual Entry Column

Item 1                           A

Item 2                           B

Item 3                           

 

Hopefully that makes sense. I'd really appreciate any insight on this problem

1 ACCEPTED SOLUTION
edhans
Community Champion
Community Champion

If I understand the issue, you cannot do this. The data coming from Power Query will not retain the same row number as manually entered data.

You will need to either put your manual data in another table with some sort of index that you can merge on - so "Item 1" for example. 

Then in PQ, merge the SharePoint table with the Excel manual table and use your manually added column.

You can see more about merging here. Merge queries (Power Query) (microsoft.com)



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

View solution in original post

3 REPLIES 3
edhans
Community Champion
Community Champion

If I understand the issue, you cannot do this. The data coming from Power Query will not retain the same row number as manually entered data.

You will need to either put your manual data in another table with some sort of index that you can merge on - so "Item 1" for example. 

Then in PQ, merge the SharePoint table with the Excel manual table and use your manually added column.

You can see more about merging here. Merge queries (Power Query) (microsoft.com)



Did I answer your question? Mark my post as a solution!
Did my answers help arrive at a solution? Give it a kudos by clicking the Thumbs Up!

DAX is for Analysis. Power Query is for Data Modeling


Proud to be a Super User!

MCSA: BI Reporting

Ah, good catch @edhans. After reading the post through a couple more times, I think you are dead on.  



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...
Greg_Deckler
Community Champion
Community Champion

@acmwib What does your Excel query look like?



Follow on LinkedIn
@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
DAX For Humans

DAX is easy, CALCULATE makes DAX hard...

Helpful resources

Announcements
May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors