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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
Jess80
New Member

Summarizing multiple columns with counts

I have a database where there is a list of projects in column A, then the following columns are the team members on the different projects.  They are wanting a summary of showing how many projects each team member has been on as one of the dashboard items.  How would I go about getting this set up on Power BI?  Below is a very similfied version of the data provided to give an idea.  Thank you.

 

Jess80_0-1658262732689.png

 

2 ACCEPTED SOLUTIONS
Ashish_Mathur
Super User
Super User

Hi,

In the Query Editor, select the first column and then select "Unpivot Other columns".  Now you should be able to build your desired visual.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

littlemojopuppy
Community Champion
Community Champion

Hi @Jess80.  Your data model doesn't do a great job of supporting this...makes it harder than it needs to be.

 

In Power Query, unpivot the column for team member so you have a list of {Project A, Member 1}, {Project A, Member 2}, {Project B, Member 2}, {Project B, Member 3}, etc.

 

From there you could create a matrix visual with Project and then Team Member to give you what you're looking for.

View solution in original post

4 REPLIES 4
Jess80
New Member

Thank you @Ashish_Mathur and @littlemojopuppy - Unpivoting other columns worked perfectly.  

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
littlemojopuppy
Community Champion
Community Champion

Hi @Jess80.  Your data model doesn't do a great job of supporting this...makes it harder than it needs to be.

 

In Power Query, unpivot the column for team member so you have a list of {Project A, Member 1}, {Project A, Member 2}, {Project B, Member 2}, {Project B, Member 3}, etc.

 

From there you could create a matrix visual with Project and then Team Member to give you what you're looking for.

Ashish_Mathur
Super User
Super User

Hi,

In the Query Editor, select the first column and then select "Unpivot Other columns".  Now you should be able to build your desired visual.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.