Hello, can someone direct me towards a solution for counting the number of combinations in this kind of data? Expected output would be that 2 customers ordered Shoes and Pants, 1 customer odered Pants, Jeans and Shirts, etc.
| Customer ID | Shoes | Pants | Jeans | Shirts |
| 321 | 1 | 1 | | |
| 123 | 1 | 1 | | |
| 456 | | 1 | 1 | 1 |
| 789 | 1 | 1 | | |
| 101112 | | | | 1 |
| 678 | | 1 | | 1 |
| 543 | 1 | | | |
| 021 | 1 | | | |
| 555 | 1 | 1 | 1 | |
Sample data attached.
Thanks,