dbonilla0331
New Member
- Joined
- Apr 19, 2024
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hi all,
Our system create groupIDS (unique and incremental) to group activity between customerIDs. So I can have multiple groupids containing multiple customers.
Using powerquery, preferable, I would like to list all the customers that have a relationship and stack them in a new index/group.
Ex. My Table
Output
Our system create groupIDS (unique and incremental) to group activity between customerIDs. So I can have multiple groupids containing multiple customers.
Using powerquery, preferable, I would like to list all the customers that have a relationship and stack them in a new index/group.
Ex. My Table
GroupID | Customer |
1 | 200 |
1 | 201 |
2 | 200 |
2 | 203 |
3 | 200 |
3 | 400 |
4 | 500 |
4 | 510 |
4 | 520 |
Output
Index | Customer |
1 | 200 |
1 | 201 |
1 | 200 |
1 | 203 |
1 | 200 |
1 | 400 |
2 | 500 |
2 | 510 |
2 | 520 |