Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Merge alternative columns dynamically used in a function

Hi,   So I have this data in multiple files in a folder. The data is formated in the following way: First column: Date and time Second column: Measured value of series 1 Third column: Status of ...
  • v-juanli-msft's avatar
    7 years ago

    Hi Anonymous 

    If all files in a folder have the same format, you could Get Data from Folder with Power BI,

    Then Click Edit, expand the "Content"

     

    Select "Source.Name" and "Timestamp" columns and unpivot other columns

    Rename the "Value" column to "combine Status"

    Spilt the "Attribute" column 

    rename "Attribute.2" to "Series"

    Select ""Attribute.2" and pivot columns

     

     

    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.