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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
bbmyers
New Member

Relating Multiple Columns to One

I have a projects table which includes a "technical associate" and a "sales associate" which are employees. I also have a table containing all employees, some of which may not be on the projects table. My goal is to have a slicer that allows interactivity by selecting employee names and displaying or counting projects for which they are either a technical or sales associate because some individuals fulfill both roles for different projects.

 

I've envisioned having two slicers so that you could select one technical/sales associate in one slicer and the list of options in the second (which would be sales/technical, respectively) would narrow down to just the list of employees who have participated as an associate with the first employee on at least one project. My first attempt was to relate the employee table to the projects table by mapping employee name to the technical associate and sales associate columns, but PowerBI does not seem to support relationships to multiple columns in this manner. I tried using calculated tables, but those appear to only be updated at refresh time and so are ill-suited for this task. Finally, I tried duplicating the employee table and relating one to technical associate and one to sales associate, but unfortunately this does not work either because I cannot also have bidrectional cross-filtering across the two employee tables or through the projects table.

 

What would be the proper way to approach this problem? Thanks.

1 ACCEPTED SOLUTION
v-chuncz-msft
Community Support
Community Support

@bbmyers,

 

You may select Unpivot Columns in Query Editor first.

https://community.powerbi.com/t5/Desktop/matrix-to-table-help/td-p/329415

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@bbmyers,

 

You may select Unpivot Columns in Query Editor first.

https://community.powerbi.com/t5/Desktop/matrix-to-table-help/td-p/329415

Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.