Forum Discussion
Preciso de ajuda para concatenar no PowerQuery
Tenho duas tabelas: "TabelaRisco" e "TabelaCausa", e desejo criar uma nova coluna na tabela "TabelaRisco" que contenha os valores da coluna "Causa" da tabela "TabelaCausa" concatenados e separados por "|" com base em uma chave em comum (ID Risco). Precisa ser feito no PowerQuery, pois depois vou ter que juntar com outras tabelas.
5 Replies
- foodd
Community Champion
English Translation (Google Translate):
I have two tables: "TableaRisco" and "TableaCause", and I want to create a new column in the table "TableaRisco" that contains the values of the column "Cause" of the table "TableaCause" concatenated and separated by "|" based on a common key (Risk ID). It needs to be done in PowerQuery because then I'll have to combine it with other tables.
- foodd
Community Champion
Would you please share your Power BI Desktop file and any source files in Excel format.
Você poderia compartilhar seu arquivo do Power BI Desktop e quaisquer arquivos de origem no formato Excel. (Google Translate)
- VictorMouraoRegular Visitor
Não consegui anexar a tabela de excel aqui, sou novo nessa comunidade e ainda não aprendi como fazer isso. Mas vou colocar um print das colunas para exemplificar as tabelas
TabelaRisco:
TabelaCausa:
- foodd
Community Champion
Com as Postagens do Fórum, as opções para adicionar um arquivo são adicionar um link de compartilhamento anônimo de uma fonte como OneDrive ou GDrive (Google Translate)