Hello,
I have a table that has question answers like this
| QuestionID | Title | AnswerID | Answer |
| 1 | How many demerit points are awarded for driving when on a hand-held device such as a mobile phone? | 1 | 2 Points |
| 1 | How many demerit points are awarded for driving when on a hand-held device such as a mobile phone? | 2 | 3 Points |
| 1 | How many demerit points are awarded for driving when on a hand-held device such as a mobile phone? | 3 | 4 Points |
| 1 | How many demerit points are awarded for driving when on a hand-held device such as a mobile phone? | 4 | 5 Points |
| 1 | How many demerit points are awarded for driving when on a hand-held device such as a mobile phone? | 5 | 6 Points |
| 1 | How many demerit points are awarded for driving when on a hand-held device such as a mobile phone? | 6 | 7 Points |
| 2 | Which of these documents are not needed in your vehicle at all times? | 7 | Your license |
| 2 | Which of these documents are not needed in your vehicle at all times? | 8 | Proof of insurance |
| 2 | Which of these documents are not needed in your vehicle at all times? | 9 | Registration papers. |
| 2 | Which of these documents are not needed in your vehicle at all times? | 10 | Vehicle Instruction manual |
I want to transform it to this form so that each question and its answers exist in one line/record.
| QuestionID | Title | Answer 1 | Answer 2 | Answer 3 | Answer 1 | Answer 4 | Answer 5 |
| 1 | How many demerit points are awarded for driving when on a hand-held device such as a mobile phone? | 2 Points | 3 Points | 4 Points | 5 Points | 6 Points | 7 Points |
| 2 | Which of these documents are not needed in your vehicle at all times? | Your license | Proof of insurance | Registration papers. | Vehicle Instruction manual | | |
How can I do this in Alteryx Designer?