Below sample table has a Section with Questions and the possible answers that each questions can have, all in the single row.. Each question can have between 1 to 4 answers.
Sec Name | Question Text | Answer 1 | Answe1 Autofail | Answer 1 Score | Answer 2 | Answe2 Autofail | Answer 2 Score | Answer 3 | Answer3 Autofail | Answer3 score | Answer 4 | Answer4 Autofail | Answer4 score |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Customer Satisfaction | Does the Bill | The syllabus lists points | FALSE | 1 | The syllabus lists | FALSE | 1 | The wrong column | FALSE | 0 | There is no total | FALSE | 0 |
Customer Satisfaction | Do Invoicing Term | Yes | FALSE | 5 | No | FALSE | 0 | ||||||
Customer Satisfaction | Have all appropriate Line | There is an ISBN | FALSE | 1 | There is no ISBN | FALSE | 0 | The ISBN number is listed | FALSE | 0 |
I need to import the data in to Salesforce database and I need to normalize the structure like each row can have Section, Question and One Answer and its attribute like AutoFail and Score. Below is the example of the normalized table with each answers in the row
Sec Name | Question Text | Answer | Answe Autofail | Answer Score |
---|---|---|---|---|
Customer Satisfaction | Does the Bill | The syllabus lists points | FALSE | 1 |
Customer Satisfaction | Does the Bill | The syllabus lists | FALSE | 1 |
Customer Satisfaction | Does the Bill | The wrong column | FALSE | 0 |
Customer Satisfaction | Does the Bill | There is no total | FALSE | 0 |
Customer Satisfaction | Do Invoicing Term | Yes | FALSE | 5 |
Customer Satisfaction | Do Invoicing Term | No | FALSE | 0 |
Customer Satisfaction | Have all appropriate Line | There is an ISBN | FALSE | 1 |
Customer Satisfaction | Have all appropriate Line | There is no ISBN | FALSE | 0 |
Customer Satisfaction | Have all appropriate Line | The ISBN number is listed | FALSE | 0 |
I am not so familiar with Powerquery or pivot table. Can anyone please help me how can I normslize this.. Any help is greatly appreciated