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
rmieszko
Frequent Visitor

Assignment based on column from different table

Hi,

 

I've got one table with groups and low-level teams:

Group1Group2Group3Group4
ADIM
BEJN
CFK 
 GL 
 H  

 

In a different table I've got tickets and and one of team {A, B, ..., N} assigned to it.

IDTeamGroup
1A 
2I 
3N 
4B 

 

What I need to do is fullfil Group column based on first table assigmnet. How to do this?

 

BR

Rafal

 

2 ACCEPTED SOLUTIONS
CR
Resolver II
Resolver II

Hi @rmieszko

 

I advise you to open your Query Editor then to unpivot all the columns of your table 1.

 

1.png

 

You will also get that:

 

2.png

 

You also will able to use the function Merge Queries to get the data you need in your other table.

 

Regards,

CR

View solution in original post

CR
Resolver II
Resolver II

for the merge queries, here are the steps:

 

1.png

 

Then you select only Attribute

 

2.png

 

Regards,

CR

 

 

View solution in original post

3 REPLIES 3
CR
Resolver II
Resolver II

Hi @rmieszko

 

I advise you to open your Query Editor then to unpivot all the columns of your table 1.

 

1.png

 

You will also get that:

 

2.png

 

You also will able to use the function Merge Queries to get the data you need in your other table.

 

Regards,

CR

CR
Resolver II
Resolver II

for the merge queries, here are the steps:

 

1.png

 

Then you select only Attribute

 

2.png

 

Regards,

CR

 

 

rmieszko
Frequent Visitor

I guess it's good idea 🙂 I will check this on Monday and let you know. Thank you!

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.