cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

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
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

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

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors