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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Leeny127
Frequent Visitor

Merging Data from Two Columns to Show in Stacked Bar Chart

 

Hello,

 

I have created a stacked bar chart to show my team's work capacity.  It counts ongoing projects for each person, broken down by phase (Planning, Developing, etc).  Up to two people can be assigned to a project...this is represented in the data table by columns "Assignee1" and "Assignee2".

 

I would like the Axis to show all team member names, and the bar chart to show ALL projects that person is working on, regardless of whether they are listed as "Assignee1" or "Assignee2".

 

Currently, I have Assignee1 as the Axis, but it only counts projects in which that person is listed as Assignee1 (obviously).

 

My question: Is there a way I can achieve my goal with a calculated column or relationship table? 

 

I fear I'm suffering from Analysis Paralysis on this one, so thank you in advance for any guidance.

 

PBI_Stacked_Bar.PNG

 

 

 

1 ACCEPTED SOLUTION
NipponSahore
Resolver II
Resolver II

If your dataset is reasonable, you can create 2 copies of your source query. One with only Assignee 1 and their phase and another with only Assignee2 and their phase. Append the two queries together and try to visualize. Let me know if that helps 

View solution in original post

2 REPLIES 2
NipponSahore
Resolver II
Resolver II

If your dataset is reasonable, you can create 2 copies of your source query. One with only Assignee 1 and their phase and another with only Assignee2 and their phase. Append the two queries together and try to visualize. Let me know if that helps 

This worked perfectly! As a "newbie" to Power BI, I was unfamiliar with the append feature until now.  Thank you for pointing me in the right direction!

 

For anyone reading this, the following links were very helpful in carrying out this solution:

 

Creating new table out of existing one

Append vs. Merge in Power BI and Power Query

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors