Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
ukeasyproj
Helper II
Helper II

how to aggregate on a column that contains combination of values

What I want to do is aggregate on a person's name and show all their projects:

 

Name | Project ID

--------

John   | 1

--------

Mike   | 2

--------

Mike, John | 3

--------

David | 4

 

so

 

for John, it should show project 1 as well as 3

For Mike, it shoulld show project 2 as well as 3

 

1 ACCEPTED SOLUTION
Vvelarde
Community Champion
Community Champion

hi @ukeasyproj

 

please follow this steps

 

1. your original data

 

Original dataOriginal data

2. in Edit Query Split column

 

By delimeter , (Comma)By delimeter , (Comma)

3. Unpivot Columns (Selecting ProjectID)

 

UnPivot ColumnsUnPivot Columns

 

4. Remove Attribute Column....Close & Apply

 

4.png

 

5. Create a measure to concatenate the projectid column

 

5.png




Lima - Peru

View solution in original post

2 REPLIES 2
Vvelarde
Community Champion
Community Champion

hi @ukeasyproj

 

please follow this steps

 

1. your original data

 

Original dataOriginal data

2. in Edit Query Split column

 

By delimeter , (Comma)By delimeter , (Comma)

3. Unpivot Columns (Selecting ProjectID)

 

UnPivot ColumnsUnPivot Columns

 

4. Remove Attribute Column....Close & Apply

 

4.png

 

5. Create a measure to concatenate the projectid column

 

5.png




Lima - Peru
Sean
Community Champion
Community Champion

You can do this in The Query Editor - just follow the Steps in the picture...

In your case your ProjectID column should be the Unique Row Identifier

And your Name column the Slicer column

 

Slicer Values.png

 

I believe there was another solution listed here but I have never tried the approach...

http://community.powerbi.com/t5/Desktop/implementing-where-on-slicer/td-p/43446

 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.