Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now

Reply
jakedawson
New Member

Getting this data to be usuable

Hey guys, This data is pulled from a HTML file that is received from an API call. when it comes in it looks like this

 

jakedawson_0-1644364427350.png

 

I cant figure out how to get it usable. I want the top row to be a harder column and the rest of the data below to be the rows. However when I import it all comes into one row and column. I tried split by delimiter "," however, that just puts it all in the same row. What can I do?

1 ACCEPTED SOLUTION

Text.Split expects a text value for the first argument, so you need to reference a string rather than a table. One option is to use row and column to pick out a specific table cell to use. For example, #"Converted to Table"{0}[Column1] give the value in the first (index 0) row and column [Column1]. Another option might be to not convert to a table in the first place.

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

You could probably surround that data with Csv.Document(your data).

 

--Nate

wdx223_Daniel
Community Champion
Community Champion

NewStep=Table.PromoteHeaders(#table(null,List.Transform(Text.Split(PreviousStepName,"#(lf)"),each Text.Split(_,","))))

jakedawson_0-1644366833071.png

I then get this error

 

Text.Split expects a text value for the first argument, so you need to reference a string rather than a table. One option is to use row and column to pick out a specific table cell to use. For example, #"Converted to Table"{0}[Column1] give the value in the first (index 0) row and column [Column1]. Another option might be to not convert to a table in the first place.

Helpful resources

Announcements
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.