PippaThePointer
New Member
- Joined
- Sep 21, 2023
- Messages
- 34
- Office Version
- 2016
- Platform
- Windows
Hi,
I am having a great time learing PQ and think its awesome, but im stuck on something that seems so simple but i can work it out.
I have some data that i have updated to be tabulated so there is one row for every item. The rows a column for 'Store' and then a whole lot of other columns such as 'Size', category, ArtworkID and qty for example. I want to group the data so that i have only one row per 'Store' and then a column that contains the qty with headers of that column containing the 'Size', Category etc. My full data has loads of items but a i have test file here that should be enough to grasp what i have to do. I tried pivoting and grouping and a combination but just cant quite get it.
Here is a basic example:
Store Category QTY ArtworkCode
A Women 1 Woman_1_1200x3000.pdf
B Women 2 Woman_1_1200x2000.pdf
C Women 3 Woman_1_2000x3000.pdf
C Men 4 Man_1_2000x3000.pdf
C Women 5 Woman_1_1200x2000.pdf
C Men 6 Man_1_1200x2000.pdf
C Women 7 Woman_1_2300x3300.pdf
C Men 8 Man_1_2300x3300.pdf
And this is what i want it to be:
I am having a great time learing PQ and think its awesome, but im stuck on something that seems so simple but i can work it out.
I have some data that i have updated to be tabulated so there is one row for every item. The rows a column for 'Store' and then a whole lot of other columns such as 'Size', category, ArtworkID and qty for example. I want to group the data so that i have only one row per 'Store' and then a column that contains the qty with headers of that column containing the 'Size', Category etc. My full data has loads of items but a i have test file here that should be enough to grasp what i have to do. I tried pivoting and grouping and a combination but just cant quite get it.
Here is a basic example:
Store Category QTY ArtworkCode
A Women 1 Woman_1_1200x3000.pdf
B Women 2 Woman_1_1200x2000.pdf
C Women 3 Woman_1_2000x3000.pdf
C Men 4 Man_1_2000x3000.pdf
C Women 5 Woman_1_1200x2000.pdf
C Men 6 Man_1_1200x2000.pdf
C Women 7 Woman_1_2300x3300.pdf
C Men 8 Man_1_2300x3300.pdf
And this is what i want it to be:
Woman_1_1200x3000.pdf | Woman_1_1200x2000.pdf | Woman_1_2000x3000.pdf | Man_1_2000x3000.pdf | Woman_1_1200x2000.pdf | Man_1_1200x2000.pdf | Woman_1_2300x3300.pdf | Man_1_2300x3300.pdf |
Women | Women | Women | Men | Women | Men | Women | Men |
A | 1 | ||||||
B | 2 | ||||||
C | 3 | 4 | 5 | 6 | 7 | 8 |