cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pbyrne98
Regular Visitor

HTML.Table : Expression.Error: The name 'Html.Table' wasn't recognized.

Hi,

Does HTML.Table requre a certain version of PowerQuery?

 

Using the forums I've tried the below code in a Custom Column and get the error in bold.

Other examples of code I've tried are further down. Additionally I've added screen shots of what I'm trying to do.

 

Expression.Error: The name 'Html.Table' wasn't recognized. Make sure it's spelled correctly.

 

 

= Html.Table([#"Last Week's Achievements"],{{"Application","tr>:nth-child(1)"},{"Version","tr>:nth-child(2)"}},[RowSelector="tbody>:nth-child(n+2)"])

 

 

 

= Html.Table([#"Last Week's Achievements"],{{"PlainText",":root"}})

 

 

Column to convert to PlainTextColumn to convert to PlainTextSolution from YouTubeSolution from YouTubeErrorError

1 ACCEPTED SOLUTION
Vijay_A_Verma
Super User
Super User

Looks like you are using Excel Power Query. Currently, Html.Table is supported only in Power BI Desktop (and PQ Online) but not in Excel PQ. If you use Power BI Desktop, you will be able to make it work.

View solution in original post

3 REPLIES 3
jaryszek
Helper V
Helper V

Hi Guys,


what is equivalent in Excel to do this?

Vijay_A_Verma
Super User
Super User

Looks like you are using Excel Power Query. Currently, Html.Table is supported only in Power BI Desktop (and PQ Online) but not in Excel PQ. If you use Power BI Desktop, you will be able to make it work.

I have also experienced similar issue. I am just wondering if the Power Query unit available for the Desktop version of Excel(O365) and Power Query available for Desktop version of Power BI are 2 different entities? Then it would be quite difficult to utilize Power Query seamlessly across the products. Is there any way we can verify the version of Power Query unit used for the respective applications like Desktop version of excel (O365) and/or Desktop version of Power BI?

Helpful resources

Announcements
PBI Sept Update Carousel

Power BI September 2023 Update

Take a look at the September 2023 Power BI update to learn more.

Learn Live

Learn Live: Event Series

Join Microsoft Reactor and learn from developers.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

MPPC 2023 PBI Carousel

Power Platform Conference-Power BI and Fabric Sessions

Join us Oct 1 - 6 in Las Vegas for the Microsoft Power Platform Conference.

Top Solution Authors
Top Kudoed Authors