Hi All,
I am fairly new to Alteryx and trying to create a PIVOT using Alteryx. Please refer to the below sample data, i have the Customer ID, Customer Category and Age Bucket for pending Customer Queries.
I want to create a PIVOT table which reflects the queries pending for each customer category under the age bucket. I am not able to upload screenshots or Input files due to data sharing restrictions. The Customer Category and Age Bucket should remain same even if there are no aged queries. For Example, there are no queries under 'Diamond' category, the output should reflect 'Diamond' category with no items under the age buckets.
I have tried using the Summarise and Cross Tab tool but unable to achieve the required output. Can you please suggest a solution?
Input Data:
| Customer ID | Customer Category | Age Bucket |
| B12 | Gold | 0 |
| B13 | Silver | 1 |
| B14 | Platinum | 2 |
| B15 | Bronze | >2 |
| B16 | Bronze | >2 |
| B17 | Gold | 2 |
| B18 | Bronze | 1 |
| B19 | Gold | 2 |
| B20 | Platinum | 1 |
| B21 | Bronze | 0 |
| B22 | Bronze | 0 |
| B23 | Silver | 1 |
| B24 | Silver | >2 |
| B25 | Bronze | >2 |
Expected Output PIVOT:
| Customer Category | Age 0 | Age 1 | Age 2 | Age >2 |
| Gold | 1 | - | 2 | - |
| Silver | - | 2 | - | 1 |
| Platinum | - | 1 | 1 | - |
| Bronze | 2 | 1 | - | 3 |
| Diamond | - | - | - | - |