New column that is aligned to data

dbagnell

New Member
Joined
Dec 16, 2014
Messages
7
Hi all,

I'm having trouble with something - I'm new to Power Query and although I've done a search for what I'm looking for, I'm not sure I'm using the right terminology so I may have missed an answered thread.

I have query on a csv file that I'm connected to and I refresh the data daily. I have a new column in the second file that should be aliged with the original data, but on refresh it gets shuffled and mis-aligned.

i.e.
On original file:
NumberNameRole
1CindyID
2DeniseSPA
4LaurieRec
5GailRec
6AdamDir

<colgroup><col><col span="2"></colgroup><tbody>
</tbody>

On new file with power query:
NumberNameRoleNote
1CindyIDCindy is nice
2DeniseSPADenise is tall
4LaurieRecLaurie is tallest
5GailRec
6AdamDir

<colgroup><col><col><col><col></colgroup><tbody>
</tbody>

<colgroup><col><col span="2"></colgroup><tbody>
</tbody>

When I refresh the data, if anything has changed (which it always will), my notes column gets moved so that the "Cindy is nice" note ends up on the row by Laurie.

How do I get my new column (which is notes about the line item) to stay with the line item it's intended for?

Thanks!
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
maybe try Merge these two tables by Number then Expand necessary columns only
 
Upvote 0

Forum statistics

Threads
1,214,644
Messages
6,120,709
Members
448,983
Latest member
Joaquim_Baptista

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top