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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

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
Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors