Ramballah
Active Member
- Joined
- Sep 25, 2018
- Messages
- 334
- Office Version
- 365
- Platform
- Windows
Hi everyone,
I have a workbook where I input raw data into it and power query makes it a niche easy to read sheet.
Now I want to add on an extra column that differentiates the item codes into the right groups so I can make graphs on certain groups instead of everything as a whole.
For example:
I input this:
And power query gives me this:
What I want is an extra column that tells me that item number 602972 belongs to the group of "Eieren" (which is Eggs in my language). And other item codes in other groups.
I have a worksheet with all the possible item codes in their groups (like this example)
1 Group is Boter, then Eieren, then Drink then Eet.
So I assume this is a vlookup thing but in power query? I am unsure how to solve this as my brain isn't really braining on this...
(PS, the column would be best between the item name and the type (Overcode))
I hope this information is enough for someone to give me instructions on this. If not, i'd be happy to give more info!
Kind regards,
Ramballah
I have a workbook where I input raw data into it and power query makes it a niche easy to read sheet.
Now I want to add on an extra column that differentiates the item codes into the right groups so I can make graphs on certain groups instead of everything as a whole.
For example:
I input this:
01.08.2024 | 602972 | JUMBO GEKLEURDE EIEREN 6 | -9 | BAK | Overcode | -22,41 | 0 | -22,41 |
01.08.2024 | 602972 | JUMBO GEKLEURDE EIEREN 6 | -10 | BAK | Overcode | -24,9 | 0 | -24,9 |
01/08/2024 | 31 | 602972 | JUMBO GEKLEURDE EIEREN 6 | Overcode | 9 | 22,41 |
01/08/2024 | 31 | 602972 | JUMBO GEKLEURDE EIEREN 6 | Overcode | 10 | 24,9 |
What I want is an extra column that tells me that item number 602972 belongs to the group of "Eieren" (which is Eggs in my language). And other item codes in other groups.
I have a worksheet with all the possible item codes in their groups (like this example)
Boter | Eieren | Drink | Eet | |||||||
ID | Naam | ID | Naam | ID | Naam | ID | Naam | |||
607576 | B BAND SMEER RMBETER 215G | 624271 | COCOVI VLOEIBAAR EIWIT | 191880 | ACTIME AARDBEI 8PK | 608114 | ACTIVI KERS 0% 4X125G | |||
199985 | B BAND VLOEIBAAR 500 ML | 140911 | JUMBO EIEREN MET ZORG | 547425 | ACTIME KIDS DRINK AARDBEI | 463023 | ACTIVI VANILLE 4PK | |||
199984 | B BAND VLOEIBAAR 750 ML | 602972 | JUMBO GEKLEURDE EIEREN 6 | 594244 | ACTIME NATUREL 0% 8PK | 302975 | ACTIVI YOGH MUESLI 4PK | |||
493503 | B BAND WIKKEL CAKE&KOEKJE | 605273 | JUMBO GEKOOKT 2 STK | 594245 | ACTIME SINAASAPPEL 4PK | 491422 | ACTIVI YOGH NATUREL 4PK | |||
484560 | B BAND WIKKEL RMBTER 250G | 619847 | JUMBO K-EI LEKKER | 178335 | ACTIVI START AARDBEI | 228598 | ACTIVI YOGHURT AARDBEI |
1 Group is Boter, then Eieren, then Drink then Eet.
So I assume this is a vlookup thing but in power query? I am unsure how to solve this as my brain isn't really braining on this...
(PS, the column would be best between the item name and the type (Overcode))
I hope this information is enough for someone to give me instructions on this. If not, i'd be happy to give more info!
Kind regards,
Ramballah