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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

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
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

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

Top Solution Authors
Top Kudoed Authors