Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-12-2023, 02:04 PM
agreeff agreeff is offline Power query - adding additional column Windows 11 Power query - adding additional column Office 2019
Novice
Power query - adding additional column
 
Join Date: Feb 2023
Posts: 1
agreeff is on a distinguished road
Default Power query - adding additional column

Hi all,




I need some advice regarding add an additional column to a sheet merged from two other sheets with power query.


Im trying to import supplier inventory using the suppliers product feed.


The supplier uses two feeds:
"Product" This contains the SKU, Title, Description, Stock on hand, pricing and brand.
"Images" This contains a link to the product image, short and long descriptions.


I used power query to merge the data into one sheet using the SKU to match the rows.


Now here comes my problem.


In the product sheet I added an extra column "Category" where I map each product.
However, when I refresh the query and there are new or removed products, the category I assigned to the product doesn't move up or down the rows with the product.



Eg. Let say product #10, in row #10 is labelled as Category A.
Upon update, lets say two additional products are added. Now product #10 moves to row #12, but Category A doesnt update to row #12.



How can I 'tie' the category to the product maintains the category?


Regards
Agreeff
Reply With Quote
  #2  
Old 02-13-2023, 01:13 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline Power query - adding additional column Windows 10 Power query - adding additional column Office 2021
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,771
Pecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant futurePecoflyer has a brilliant future
Default

Please post a sample sheet and the PQ code. Thx
__________________
Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel power query help ganesang Excel Programming 0 09-20-2021 01:50 AM
Calculate age in power query as of a given date Marcia Excel 1 11-12-2020 07:14 AM
Power query - adding additional column Format numbers in Power Query Marcia Excel 2 09-21-2020 12:59 AM
Do I need a power query for this one? shabbaranks Excel 5 04-10-2019 03:29 AM
Query and Power Query not working Excel 2016 bl10 Excel 0 07-22-2016 06:25 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:23 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft