Power Query help

hvl888

New Member
Joined
May 6, 2018
Messages
10
Hi All,

Hoping you could help with my current problem I have with Power Query.

I have a raw data file which is updated monthly. I use Power Query to split this raw data file into a number of workbooks based on the centre code as different members are responsible for their own centre codes. Members would then review their data and insert comments against the relevant row. I then use Append to bring all the files together to include any comments members have for their centre codes. The problem I have is when the raw data is refreshed the following month, often there will be additional entries and when the members update their workbook, the comments that they inserted the previous month no longer match the intended row as new rows are added to their workbook, the comments are now out of sync. Any suggestions you have that would prevent this from happening would be greatly appreciated.

Many Thanks
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
If you are not already using them I think you need to look into self referencing queries. The important point is to establish a unique key to keep the comments with the row it refers to. One way might be to set up an index number in your master data; if this is not possible a unique field or merged fields is an alternative.

Peter
 
Last edited:
Upvote 0
Thank you for your suggestion. I did try using self referencing queries but each time I refreshed the table, it would create a new unwanted column which causes some issues. Although not ideal, i did find a solution to my problem which was to sort the raw data initially and then to add the new data to the end of the data file so when it refreshed, it would be added to the bottom of the table. This way the comments insert previously are still aligned to the relevant row.
 
Upvote 0
Regarding the unwanted column. I have found that in most cases if it is deleted it stays deleted even on refresh.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,154
Members
453,021
Latest member
Justyna P

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