cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
vamsi_tiger
Frequent Visitor

append columns from same table

i have a table like below

dateteamd1m1d2m2
1aaa2cc3
2bbb4dd5

i need like below

dateteamdm
1aaa2
2bbb4
1a

cc

3
2bdd5
1 REPLY 1
slorin
Super User
Super User

Hi

let
Source = YourSource,
UnPivot = Table.UnpivotOtherColumns(Source, {"date", "team"}, "Attribut", "Valeur"),
SplitColumn = Table.SplitColumn(UnPivot, "Attribut", Splitter.SplitTextByCharacterTransition((c) => not List.Contains({"0".."9"}, c), {"0".."9"}), {"Attribut.1", "Attribut.2"}),
Pivot = Table.Pivot(SplitColumn, List.Distinct(SplitColumn[Attribut.1]), "Attribut.1", "Valeur")
in
Pivot

Stéphane 

Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors