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

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.

Reply
Anonymous
Not applicable

Sharepoint/Data Manipulation

I am making a report connected to a Sharepoint List. There are multiple columns in it out of which two are relevant. 

 

There is the Title and then there is the Team. People add in names in that column (is atleast one, could be more, usually 3-5). In the report I would like to see which member was in which project; which project had which members, and the number of projects a given member had participated in.

 

The two columns below represent how I get the data in. I can split the "Team" column however since the data is the same, i can't figure out a smart way of modelling this. 

 

One tedious way could be that making separated queries out of each projects but that would mean around a 100 queries and this is a live connection to Sharepoint. 

 

TitleTeam
Project 1Member1; Member2; Member3
Project 2Member2; Member1; Member 4
Project 3Member5; Member1; Member 3

 

Thanks for the help

1 ACCEPTED SOLUTION
JarroVGIT
Resident Rockstar
Resident Rockstar

You can do this in Power Query. Select the team column and then hit 'Split Column by delimiter'. This will split the team columns in multiple columns. Then select all new columns and hit 'Unpivot Columns', then filter out the blanks of the newly created Value column (there won't be blanks in the example data you gave, but I am guessing not every project has an equally large team) and now you have a one to one mapping between project name and team member. So if you have 3 teammembers in projectA, then you now have 3 rows with ProjectA and corresponding teammember name.

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

2 REPLIES 2
JarroVGIT
Resident Rockstar
Resident Rockstar

You can do this in Power Query. Select the team column and then hit 'Split Column by delimiter'. This will split the team columns in multiple columns. Then select all new columns and hit 'Unpivot Columns', then filter out the blanks of the newly created Value column (there won't be blanks in the example data you gave, but I am guessing not every project has an equally large team) and now you have a one to one mapping between project name and team member. So if you have 3 teammembers in projectA, then you now have 3 rows with ProjectA and corresponding teammember name.

 

Kind regards

Djerro123

-------------------------------

If this answered your question, please mark it as the Solution. This also helps others to find what they are looking for.

Keep those thumbs up coming! 🙂





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




Anonymous
Not applicable

Thanks alot - that worked perfectly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.