Forum Discussion

yodkosin's avatar
yodkosin
Regular Visitor
6 years ago
Solved

How to Split Row from Column into New Column

InputNew Column 1New Column 2
CatCatBirds
DogDogSnake
Birds Fish
Snake  
Fish  
  • Hi yodkosin 

    Please tell us your rule to classify the rows.

    For example,

    concatenate=Table.Group(#"Added Conditional Column","category",{{"new column",each Text.Combine(List.Transform(_[Input],(x)=>x),",")}})

     

    Best Regards
    Maggie
    Community Support Team _ Maggie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

2 Replies

  • v-juanli-msft's avatar
    v-juanli-msft
    Community Support

    Hi yodkosin 

    Please tell us your rule to classify the rows.

    For example,

    concatenate=Table.Group(#"Added Conditional Column","category",{{"new column",each Text.Combine(List.Transform(_[Input],(x)=>x),",")}})

     

    Best Regards
    Maggie
    Community Support Team _ Maggie Li
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.