Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
Hello
We are trying to find if there is a way to group columns together in my data which contain the same group of values so that each cell retains it individual value, however the three columns present as one field in Power BI.
Here is the situation. We run a tutoring program and we ask the student what is the reason they have come. They select from the following set options, however, because a student usually comes for multiple reasons they can select up to 3 and this populates 3 columns in our spreadsheet.
• Understand of course content
• Assignment help
• Exam preparation
• Study skills advice
• Time management advice
We want to be able to show the total number of students which came for X reason not just the total of the first column.
We also have the same issue with wanting to combine our tutor data. Our tutors can tutor up to 3 subjects and these once again are the same set of value types (physics, maths, chemistry, engineering, etc) across 3 columns (subject selection 1, subject selection 2, subject selection 3) and we would like to be able to firstly see how many tutors we have for each subject and to see who those tutors are and how busy they have been. This would once again involve being able to group the three columns while each value remained distinctive.
Any help would be greatly appreciated.
Pip
Solved! Go to Solution.
Thanks everyone for all your help. Unpivot and then making sure to select count distint for my values in the visualisation seems to have done the trick 🙂
@PipManifold , difficult so say without looking at data
Can you share sample data and sample output in table format?
refer if these can help
https://radacad.com/pivot-and-unpivot-with-power-bi
Transpose : https://yodalearning.com/tutorials/power-query-helps-transposing-data/
Thanks everyone for all your help. Unpivot and then making sure to select count distint for my values in the visualisation seems to have done the trick 🙂
Sample data would help,
however, it looks like you want to unpivot the columns that hold the reasons.
You can then write a measure to count the students
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
94 | |
86 | |
81 | |
70 | |
49 |
User | Count |
---|---|
143 | |
124 | |
107 | |
60 | |
55 |