Forum Discussion
Data Modelling Best Practice for Survey
Hi,
I have a large dataset of over 1500 entries with 150 columns. It consists of personal particular questionaires, and dozen other questions composed of radio button (single input), checkboxes (multiple inputs), and textbox (open ended).
The questions can be broken down into 3 levels: Theme -> questions -> further details.
I.e. Customer experience -> Which newspaper do you read? -> when; where?
The output data is flat, the variables for radiobutton, and texbox questions are shared in a single column, while the checkbox questions created separate columns for its respective variables. See below.
| s/n | radio | checkbox X | checkbox Y | checkbox Z | textbox |
| 1 | a | x | I think its good | ||
| 2 | b | x | I don’t know | ||
| 3 | a | x | y | z | |
| 4 | a | y | maybe | ||
| 5 | b | x | z | ||
| 6 | a | y | z |
My questions are:
- Should I break down the flat database into its respective questions or by its theme?
- How should I organize the nested structure?
- Should I have the personal particulars as the master model?
- Should I create a new column for all models to link it back to the master survey entry id? Where the new column is the same entry id?
- Should I separate out the variables that share the same column? Some of my chart requires pivoting. I don't know what is the best way to do it.
- Should I use binary format to manipulate the data or can I used the original variable names?
Thank you!
4 Replies
- amitchandakSuper User
Anonymous , Based on the need one of the ideas is to unpivot the columns (radio to Zbox) but they are 150 numbers. If you have a lot of rows. the number of rows will multiply.
Depending on how you need the answers in the final visual each column may to processed.
A better sample with some of the output you want can help.
- AnonymousNot applicable
I couldn't post as I'm getting an invalid HTML error.
<p>As I'm new to data and power BI, I'm dont know some of the keywords to search for the solution effectively.<br />Sample of the radiobutton and textbox questionaires:</p>
<p><span style="font-family: inherit;"><li-image width="999" height="289" alt="radio.PNG" align="inline" id="446305i93FC1F7B54C7FA93" size="large" sourceType="new"></li-image><br />Sample of the checkbox questionaires:</span></p>
<p><li-image width="999" height="176" alt="checkbox.PNG" align="center" id="446304i355E941214BAEB87" size="large" sourceType="new"></li-image><br /><br /></p>- AnonymousNot applicable
The checkboxes (top) and radiobutton/textbox questionaires are shown as above.