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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors