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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

How can I pivot columns with DAX

Hi There,

 

I have a table like this:

 

IDSurveyIDResponseIDQuestionTextAnswerText
a1SV_123R_A1question1A
b2SV_123R_A1question2B
c3SV_124R_B1question3C
d5SV_125R_C1question4D

 

 

I have a lot of question text and users can answer this question a lof of time so I have a lot of responseID. 

 

I need this a measurement as working pivot table. Because I have to create a report like this:

 

firatseker_0-1611039600190.png

Pie charts should change according to the filters selected in the segment section.

 

Sample Cases,

 

- The distribution of people who participated in Survey1, answered Answer65 to Question11 in any surveys, and answered Answer37 to Question12 in any surveys,

 

- The distribution of people who participated in Survey2 and Survey3 both (common users), answered Answer65 to Question11 in any surveys, and answered answer15 to Question13in any surveys

4 REPLIES 4
Anonymous
Not applicable

Hi There,

 

Do you have any solution about this?

 

Best,

Hi, @Anonymous 

 

I don't understand your requirements very well, like “Answer X to Question X in any surveys”

Could you please explain more about how you expect the output to look like? make it more specific ,thanks!

 

 

Hope I can help!

 

Best Regards,

Caitlyn Yan

amitchandak
Super User
Super User

@Anonymous , the expected output is nor clear can you elaborate

Anonymous
Not applicable

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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