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
TomLU123
Helper III
Helper III

Convert the survey Data in to visualization

Hi Experts, 

 

I want to visualize the data from an online survey. The row data collected from the survey is in the format as below. There are three multiple choice questions. 

RecruiterQuestion 1Question 2Question 3
AHighly Satisfactory Unsatisfactory Satisfactory 
BHighly Satisfactory Partially satisfactory Satisfactory 
CBeyond Satisfactory Satisfactory Unsatisfactory 

I wish to create a visualization to show the overall count. Is it possible to create a new table and convert the data into the following format?

AnswersQuestionRecruiter
Highly Satisfactory 1A
Highly Satisfactory 1B
Beyond Satisfactory 1C
Unsatisfactory 2A
Partially satisfactory 2B
Satisfactory 2C
Satisfactory 3A
Satisfactory 3B
Unsatisfactory 3C

 

Many thanks!

1 ACCEPTED SOLUTION
RahulYadav
Resolver II
Resolver II

Hi @TomLU123,

You can create new table using below DAX Formula for getting the desired results.

 

New Recruiter = union(SELECTCOLUMNS(Recruiter,"Answer",Recruiter[Question 1],"Question",1,"Recruiter",Recruiter[Recruiter]),
    SELECTCOLUMNS(Recruiter,"Answer",Recruiter[Question 2],"Question",2,"Recruiter",Recruiter[Recruiter] ),
     SELECTCOLUMNS(Recruiter,"Answer",Recruiter[Question 3],"Question",3,"Recruiter",Recruiter[Recruiter] ))

2018-03-19_12-43-35.jpg

 

Thanks,

Rahul

View solution in original post

1 REPLY 1
RahulYadav
Resolver II
Resolver II

Hi @TomLU123,

You can create new table using below DAX Formula for getting the desired results.

 

New Recruiter = union(SELECTCOLUMNS(Recruiter,"Answer",Recruiter[Question 1],"Question",1,"Recruiter",Recruiter[Recruiter]),
    SELECTCOLUMNS(Recruiter,"Answer",Recruiter[Question 2],"Question",2,"Recruiter",Recruiter[Recruiter] ),
     SELECTCOLUMNS(Recruiter,"Answer",Recruiter[Question 3],"Question",3,"Recruiter",Recruiter[Recruiter] ))

2018-03-19_12-43-35.jpg

 

Thanks,

Rahul

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