legalhustler
Well-known Member
- Joined
- Jun 5, 2014
- Messages
- 1,214
- Office Version
- 365
- Platform
- Windows
Hello All,
I'm using Power BI Desktop and inside Power Query I have the following HTML code (see very bottom) that I'm trying to convert to plain text. I added a custom column and used the following formula to covert the HTML to text but nothing shows inside the table after the custom column has been added.
=Html.Table([HtmlBody],{{"Text",":root"}})
Is the below code a real HTML code? Does it make sense? I thought I should see the field names/contents like "Location", "Department" (similar to how it shows in my Outlook email) somewhere inside the code but it doesn't appear so. I'm not sure what the source for "table.gridTable" is below either.
Please advise.
I'm using Power BI Desktop and inside Power Query I have the following HTML code (see very bottom) that I'm trying to convert to plain text. I added a custom column and used the following formula to covert the HTML to text but nothing shows inside the table after the custom column has been added.
=Html.Table([HtmlBody],{{"Text",":root"}})
Is the below code a real HTML code? Does it make sense? I thought I should see the field names/contents like "Location", "Department" (similar to how it shows in my Outlook email) somewhere inside the code but it doesn't appear so. I'm not sure what the source for "table.gridTable" is below either.
Please advise.
HTML:
<!DOCTYPE html><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii"><style type="text/css">
table.gridTable {
font-family: Arial, Helvetica, sans-serif;
font-size:13px;
border: 2px solid black;
border-collapse: collapse;
}
table.gridTable td, th {
border: 2px solid black;
padding: 8px;
}
tr.noBorder td{ border-top: 0px; border-bottom:0px; padding: 8px;}
td.label { font-weight:bold; width:160px;}
td.label2{ font-weight:bold; w
Last edited: