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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
walker21
Frequent Visitor

Remove HTML Tags from Column with Null Values

How do I extract the plain text from columns in HTML and exclude null values? I have a column that has a mix of plain text, HTML, and null values.

I tried using "Html.Table([ColumnName] , {{"text",":root"}})" but when it hits a null value, it breaks everything. 

 

walker21_0-1675792475043.png

 

 

2 REPLIES 2
Chatticha
New Member

' try Html.Table([Column] , {{"text",":root"}}) otherwise null '

sinigagliafeder
Frequent Visitor

Hello @walker21 ,
I don't know if you still need assistance but I have a workaround if you need.
Simply replace the null value with NA in the column and then create another column using this formula "Html.Table([ColumnName] , {{"text",":root"}})". 

In this way you will not get the error message 😉

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.