Supplies are limited. Contact info@espc.tech right away to save your spot before the conference sells out.
Get your discountScore big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount
Hi There,
I have a table like this:
UserID | ResponseID | QuestionTag | AnswerID |
u1 | r1 | q1 | 1 |
u1 | r2 | q2 | 1 |
u1 | r3 | q3 | 2 |
u1 | r4 | q4 | 3 |
u2 | r12 | q1 | 2 |
u2 | r13 | q2 | 2 |
u2 | r14 | q3 | 1 |
u2 | r15 | q4 | 2 |
u3 | r27 | q1 | 1 |
u3 | r28 | q2 | 2 |
u3 | r29 | q3 | 3 |
u3 | r30 | q4 | 4 |
And I want to filter userID by answerID but like this:
I want to find users whose QuestionTag=q1 and AnswerID=1 and then I want to reach users' answerID distrubution whose QuestionTag=2
And So In this picture, If I click answerID=1 in pie chart in QuestionTag=1, The other pie charts must show filtering users answerID distrubution by questionTag
Thanks
Copying DAX from this post? Click here for a hack to quickly replace it with your own table names
Has this post solved your problem? Please Accept as Solution so that others can find it quickly and to let the community know your problem has been solved.
If you found this post helpful, please give Kudos C
I work as a Microsoft trainer and consultant, specialising in Power BI and Power Query.
www.excelwithallison.com
Thank you for your response but this table is only a sample.
I have a lot of question tag and sometimes a user has one more AnswerID for a questionTag.
UserID | ResponseID | QuestionTag | AnswerID |
u4 | r31 | q1 | 1 |
u4 | r32 | q2 | 2 |
u4 | r33 | q2 | 4 |
If I do pivot table, I can lost answerID 2 or 4 for q2
Do you have any other solution?
Best,
User | Count |
---|---|
65 | |
60 | |
47 | |
33 | |
32 |
User | Count |
---|---|
85 | |
75 | |
56 | |
50 | |
45 |