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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Combining tables from an HML email attachment

Hello,

I have a small issue regarding one of my queries.

 

Target : pull all data (multiples tables) from an HTML file sent daily to email adresse.

Email : outlook exchange

File : HTML file with multiple tables.

Challenge: 

1) I am succefully connecting to the outlook exchange.

2) I am succefully drilling down in the attachment.

 

Problem is coming after, as there are multiple tables, (variable depending on day), one query only allows me to pull one table.

Is there a way around ? 
I can append all tables and create X queries but looking if there is an easiest solution.

Thanks

Kind regards
Vivasss 

1 ACCEPTED SOLUTION
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

When you connect to Microsoft Exchange in power query, you can filter the daily HTML file in the attachement field first after you expand it.

Then you can click the down arrow to combine these files without appending them one by one.

1.png

 

2.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

2 REPLIES 2
v-yingjl
Community Support
Community Support

Hi @Anonymous ,

When you connect to Microsoft Exchange in power query, you can filter the daily HTML file in the attachement field first after you expand it.

Then you can click the down arrow to combine these files without appending them one by one.

1.png

 

2.png

 

Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

mahoneypat
Microsoft Employee
Microsoft Employee

Can you provide an example/mock html file with multiple tables so a specific solution can be suggested?  Also, this might be a good application for Power Automate with a Flow that is triggered off receipt of the email with your HTML file that then moves the data to another format/location (e.g., csv on SharePoint) prior to Power BI ingestion.

Pat

 





Did I answer your question? Mark my post as a solution! Kudos are also appreciated!

To learn more about Power BI, follow me on Twitter or subscribe on YouTube.


@mahoneypa HoosierBI on YouTube


Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

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.