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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.