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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
osama_ayoub
Helper III
Helper III

extracting html table from outlook using power query

Hi,
I am trying to extract html table from outlook emails but I got only the text as a separated words not as a format of table ,
I expanded the column containg record of table (HtmlBody,HtmlText) before applying custom function ?
I used below function and got the error of can not convert to binary.
is this anyway to get the table from email as a table also ?

= Table.AddColumn(#"Expanded Body", "Custom", each Table.FromColumns(
List.Transform(
Html.Table(Web.Page(Text.FromBinary([HtmlBody]))),
each ([Column1])
)
))

 

osama_ayoub_1-1688285530170.png

 

1 REPLY 1
osama_ayoub
Helper III
Helper III

Could you help me please?
@ppm1 

@slorin

@BA-Pete

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors