Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
5 years ago

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/nradiocheckbox Xcheckbox Ycheckbox Ztextbox
1ax  I think its good
2bx  I don’t know
3axyz 
4a y maybe
5bx z 
6a yz 

 

My questions are:

  1. Should I break down the flat database into its respective questions or by its theme?
  2. How should I organize the nested structure?
  3. Should I have the personal particulars as the master model?
  4. 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?
  5. 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.
  6. Should I use binary format to manipulate the data or can I used the original variable names?

Thank you!

4 Replies

  • 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.

    • Anonymous's avatar
      Anonymous
      Not 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>

      • Anonymous's avatar
        Anonymous
        Not applicable

         

         

        The checkboxes (top) and radiobutton/textbox questionaires are shown as above.