• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Strange excel/html hybrid type file|Power Query|Excel Forum|My Online Training Hub

You are here: Home / Strange excel/html hybrid type file|Power Query|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower QueryStrange excel/html hybrid type file
sp_PrintTopic sp_TopicIcon
Strange excel/html hybrid type file
Avatar
Mike Mckinney

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
September 20, 2020
sp_UserOfflineSmall Offline
1
December 15, 2021 - 7:56 am
sp_Permalink sp_Print

I have a strange excel/html hybrid type file that is exported from a program.

If I open this file in Excel, it does warning about the format, but after clicking okay, the file displays normally.

The real problem occurs if I try to use Power Query to start a new query from external workbook or from folder.

It seems I used to be able to tell Power Query to open the file as html, but that option no longer seems to be available. I can try to import file from the Web, and give it the file path to my file on my local computer, but again, it does not work because the f"ile is not in the expected format"

I can change the file extension to html and that does work, but I would rather automate the process of working on these files when I deal with them.

As a kludge/workaround, I can use get file from folder, transform data, and then when I have my file list I can create a custom column and use:

=Web.Page([content} to get a new column that can then be expanded and from there further expand and get the data, but this would rather not use this if possible.

Where did the option go to tell Power Query how to attempt to open the file as a different type? Or am I completely losing my mind and that was never there?

Avatar
Catalin Bombea
Iasi, Romania
Admin
Level 10
Forum Posts: 1807
Member Since:
November 8, 2013
sp_UserOfflineSmall Offline
2
December 15, 2021 - 5:18 pm
sp_Permalink sp_Print sp_EditHistory

Hi Mike,

When you have the list of items in that folder, the first column is Content, with data in Binary format. If you right click any cell from Content column, Add as a new query, a new query will obviously be added. Right click on that binary object from editor and you'll be able to select the type of file.

But: it will do exactly what you did:

if you select HTML, PQ will add a formula : Web.Page([Content])

if you select Excel Workbook, PQ will add a formula : Excel.Workbook([Content])

 

2021-12-15.pngImage Enlarger

sp_PlupAttachments Attachments
  • sp_PlupImage 2021-12-15.png (16 KB)
sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Chris Warren
Guest(s) 9
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
michael serna
mashal sana
Tiffany Kang
Leah Gillmore
Sopi Yuniarti
LAFONSO HERNANDEZ
Hayden Hao
Angela chen
Sean Moore
John Chisholm
Forum Stats:
Groups: 3
Forums: 24
Topics: 6214
Posts: 27246

 

Member Stats:
Guest Posters: 49
Members: 31897
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.