Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

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 4
amitchandak
Super User
Super 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.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
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
Not applicable

checkbox.PNG

 

radio.PNG

 

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

@Anonymous , if it is not too much data I would prefer to unpivot.

https://radacad.com/pivot-and-unpivot-with-power-bi

That will give in questions in row

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors