Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more
 
					
				
		
I'd like to pivot multiple text rows into one with a comma based on an employee column. Does anyone know how to do this?
I have the following table:
Employee ID
Employee Degree
It looks like this:
Emp ID | Degree
251 | Master of Science
251 | Bachelor of Arts
352 | Bachelor of Sciences
I'd like it to look like:
Emp ID Degree
251 | Master of Science, Bachelor of Arts
352 | Bachelor of Sciences
Solved! Go to Solution.
 
					
				
		
In Power Query:
List.Accumulate( [Count][Degree], "", (state,current)=> (state &", "& current) )
FInal Table:
 
					
				
		
In Power Query:
List.Accumulate( [Count][Degree], "", (state,current)=> (state &", "& current) )
FInal Table:
This worked perfectly! Thank you!
Awesome! Glad it worked 🙂
 
					
				
				
			
		
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.
 
            | User | Count | 
|---|---|
| 85 | |
| 49 | |
| 36 | |
| 31 | |
| 30 |