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.
Hello everyone,
I am an absolute beginner in Power Bi, so please bear with me if my question seems simple. I am trying to visualize the following:
I have a survey where training participants can describe their profession by selecting one or multiple answers. My data looks something like this:
I would like to visualize the second column, for instance in the form of a pie chart. However, I don't know how to make Power BI "filter" this column, so that I would have pie chart with each category ("Videojournalist", "Correspondent", etc.), rather than - as Power BI currently displays it - categories that are named like this: "Videojournalist,Photojournalist, Cameraperson", etc. I know that this means that certain participants would be counted two, three, four times, but that would be okay.
Is there a way to create a DAX function (or pivot table?) to visualize this? Please let me know if you need further information or a sample dataset/pbix file to answer my question.
Many thanks in advance 🙂
Best,
Marvin
Solved! Go to Solution.
Hi Marvin,
I have attached a sample PBIX.
I would suggest setting up the data model as follows:
Number of Occurrences of Profession = COUNTROWS ( ParticipantProfession )
You can see in the attached PBIX how this is set up, but please post back if needed.
Regards,
Owen
Hi Marvin,
I have attached a sample PBIX.
I would suggest setting up the data model as follows:
Number of Occurrences of Profession = COUNTROWS ( ParticipantProfession )
You can see in the attached PBIX how this is set up, but please post back if needed.
Regards,
Owen
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
94 | |
77 | |
63 | |
50 |
User | Count |
---|---|
147 | |
106 | |
104 | |
87 | |
61 |