Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Un-Pivot or Custom Column

Hello everybody,   again I need some help. I have following Table:   Ordernumber   Information   123 A 123 B 123 C 456 A1 456 C2 789 D   I want to "move" the row-...
  • Anonymous's avatar
    Anonymous
    4 years ago

    Provided the solution myself:

    Create a custom function, that returns the Information for each Ordernumber (see below)

    After that you can invoke this function from the base table, to extract the return-values as new column. 

    After that, you Split the column by deliter => done

    (Paramter as number) =>
    
    let
        Source = Table.SelectRows(
        Tabelle1, each ([Ordernumber]) = Paramter
        )[Information]
    in
        Source