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
JMGData
Regular Visitor

Coding Survey Data Questions for "Theme" Analysis

Hi,

 

I am in the process of trying to present survey data for a school district but have run into an issue. The raw data looks something like the table below with Respondent Answers (Likert Scale) occupying each row and correspond to the columns that the questions are in. The issue is that I need to aggregate the responses (50% agree, 25% disagree, 25% strongly disagree) based on coded themes. For example Question 1 and Question 4 are about Instruction, Question 2 and Question 5 are about Behavior, Question3 and Question 6 are about Grading. What's the best way of preparing this data so that I can show results based on these themes and also use the demographics as a filter later on? Is there a way to "Theme" this data?

 

Thanks in advance for any help you can provide!

 

- J.

 

Respondent IDDemographicsQuestion 1Question 2Question 3Question 4Question 5Question 6
1AAgreeDisagreeStrongly DisagreeI don't knowDisagreeAgree
2BDisagreeDisagreeAgreeAgreeStrongly AgreeAgree
3AStrongly DisagreeDisagreeDisagreeAgreeStrongly AgreeDisagree
4BStrongle AgreeAgreeAgreeAgreeStrongly DisagreeDisagree
1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@JMGData , select the first two columns (columns other then questions) and unpivot other columns, that should help

 

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

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

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@JMGData , select the first two columns (columns other then questions) and unpivot other columns, that should help

 

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

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
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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

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