Hello,
Am very new at Alteryx. Thank you for all the help in advance.
I have data that looks like the following:
| customer_id | question | answer_chosen |
| 1 | Q1 | 1 |
| 2 | Q2 | 5 |
| 3 | Q3 | 2 |
| 4 | Q1 | 4 |
| 5 | Q7 | 3 |
1) I am trying to convert the unique questions into column categories, and 2) replace the row values of the new columns with the respective answer_chosen value, else leave it empty or null, and then 3) append the new columns to the end of the original data set.
Results should look like the following:
| customer_id | question | answer_chosen | Q1 | Q2 | Q3 | Q4 | Q5 | Q6 | Q7 |
| 1 | Q1 | 1 | 1 | | | | | | |
| 2 | Q2 | 5 | | 5 | | | | | |
| 3 | Q3 | 2 | | | 2 | | | | |
| 4 | Q1 | 4 | 1 | | | | | | |
| 5 | Q7 | 3 | | | | | | | 3 |
And the real data I have is very massive with more questions than above example.
Could you please help point me in the right direction?
Thanks,
~Sky