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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Anonymous
Not applicable

Merge columns from two tables

Hello guys,

 

So, I have three database about the skills of my team, as shown below, I'm trying to use the merge function on BI (power query) to have a table like this:

 

NameTrainning that the person needTrainning that person have
Augusto1 
Augusto22
Augusto3 
Augusto44
Augusto5 
Augusto66
Augusto7 
Augusto8 
Augusto99

 

*In the exemples I reduced the number of lines to simplify the explanation, but I have a big data of this. 

 

However every time that I try to performe this, the data of the table look randomic like this:

NameTrainning that the person needTrainning that person have
Augusto12
Augusto13
Augusto12
Augusto13
Augusto14
Augusto24
Augusto24
Augusto24
Augusto34
Augusto44
Augusto54
Augusto64
Augusto64
Augusto64
Augusto65
Augusto74
Augusto75
Augusto75
Augusto75
Augusto84
Augusto84
Augusto84
Augusto94
Augusto94
Augusto94
Augusto94
Augusto94

 

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

NameEnrollmentShiftLine
Augusto11FMD
Bruno 223
Caio31FMD
Jaime 43FMD
Jeosmar531
 

 

EnrollmentClassSub-class
2IWSPMCard
4IWSPMCard
5IWSPMCard
2PLCPLC. Beckhoff
4SegurançaNR10
4SegurançaPulsar
4ImpressorasVideojet
5SegurançaNR10
5SegurançaNR35
5ImpressorasVideojet
2PeriféricosSACU
5PeriféricosSACU
2ITChronos
5ITChronos
2ImpressorasTTO
3ImpressorasTTO
3IWSDH
2MakerM5
2PackerFX1
2BufferCapricórnio
3MakerGD121P
1MakerGD121
2MakerGD121
4MakerGD121
5MakerGD121
2MakerGD121A
(Walrus)
3BobineirosRF-20
3BobineirosBOB-M
3IWSIPS
3IWSCL
3IWSCIL
3IWSDH
3IWSMP&S
2IWSEquipment owner
2IWSIWS Básico
5SegurançaPulsar
1SegurançaNR10
2SegurançaNR10
3SegurançaNR10
4SegurançaNR10
5SegurançaNR10
1SegurançaNR35
3SegurançaNR35
4SegurançaNR35
3ITSAP
1Filter makerKDF2ER
3Controle de qualidade filtrosMIDAS (Microwave)

 

LineClassSub-class
FMDIWSPilar PM
FMDIWSPilar AM
FMDIWSPMCard
FMDIWSIPS
FMDIWSUPS
FMDIWSWPA
FMDIWSCL
FMDIWSCIL
FMDIWSDH
FMDIWSMP&S
FMDIWSEquipment owner
FMDIWSOEE
FMDSegurançaPulsar 
FMDSegurançaNR10
FMDSegurançaNR35
FMDITCHRONOS
FMDITSAP
FMDFilter makerKDF2
FMDFilter makerKDF2ER
FMDFilter makerKDF3
FMDFilter makerDF10
FMDFilter makerMULFI
FMDFilter makerMONTRADE
FMDFilter makerRESY
FMDFilter bufferResy
FMDFilter bufferHighbay
FMDEmissoresMAGOMAT-M
FMDEmissoresMAGOMAT-80
FMDEmissoresHCF
FMDEmissoresUNIFLOW
FMDEmissoresFILTROMAT S2
FMDEmissoresFILTROMAT 3S
FMDEmissoresFILTROMAT 1S
FMDEmissoresDEMATIC WCS
FMDEmissoresDEMATIC SRM
FMDEmissoresFILTROMAT
FMDEmissoresFILTROMAT (AMK)
FMDKit capsulaKit capsula hauni
FMDControle de qualidade filtrosCâmeras Montrade
FMDControle de qualidade filtrosMIDAS (Microwave)

 

Could anyone help me?

 

 

2 REPLIES 2
dax
Community Support
Community Support

Hi @Anonymous , 

I am not clear about your requirement and logic, if possible could you please inform me more detailed information(such as your expected output ) and explain your logic to me? Then I will help you more correctly.

Please do mask sensitive data before uploading.

Thanks for your understanding and support.
Best Regards,
Zoe Zhi

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

artemus
Microsoft Employee
Microsoft Employee

Hi, I'm not following the connection between Name and Training that person needs. Could you describe how you want this determined or calculated?

Helpful resources

Announcements
July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 community update carousel

Fabric Community Update - June 2025

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