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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
EdsonGomes
Frequent Visitor

Transformar 1 Coluna em 3 colunas Power Query

Olá, 

Tenho uma base em txt exemplo abaixo, como faço para transformar ela com 3 colunas, Nome, Telefone, Cidade.

 

Name1

telefone1

cidade1

-

Name2

telefone 2

cidade 2

-

Name3

telefone 3

cidade 3

-

Quero que fique assim:

 

NomeTelefoneCidade
Name1Phone1Cidade1
Name2telefone 2City2
Name3telefone 3City3

 

Obrigado.

1 ACCEPTED SOLUTION
Jakinta
Solution Sage
Solution Sage

You can add this step.

= Table.FromRows( List.Transform(List.Split(PriorStepName[ColumnName],4), List.RemoveLastN), {"Nome","Telefone","Cidade"} )

View solution in original post

2 REPLIES 2
Jakinta
Solution Sage
Solution Sage

You can add this step.

= Table.FromRows( List.Transform(List.Split(PriorStepName[ColumnName],4), List.RemoveLastN), {"Nome","Telefone","Cidade"} )

Obrigado.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors