Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
9 years ago
Solved

CSV web query returns one huge row

Hi all   I'm sure this must be an easy one but I can't find a solution!   I have a web query that brings data in csv format into Power BI. The data all downloads but it only gives me one huge row...
  • Anonymous's avatar
    Anonymous
    9 years ago

    I fixed it!

     

    My steps were:

    1) Change the source to just be a text file instead of a csv. This resulted in one column with one row. So one cell containing ALL my data.

    2) Split the single cell based on the delimiter ";". This resulted in heaps of columns containing a bunch of information including commas

    3) Transpose the data so that columns became rows. So a single column with a bunch of rows

    4) Split the column again on the delimiter "," and hey presto! Done!

     

    This forum post set me in the right direction.

    https://community.powerbi.com/t5/Desktop/Split-column-not-into-seperate-columns-but-in-rows/td-p/11194