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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

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

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.