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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

Rich text/HTML formatting in PowerBI table

Hi all, 

 

I currently have an important that comes with HTML mark-up due to how it is input into a database; so lots of <p> and <b> and a huge chunk of text that is generally unreadable. 

 

Is there a way to either:

  • Strip out all HTML mark-up
  • Apply the HTML formatting as a part of the table (this would be a preference)

I can alter the data via an excel export (as it's not a 'live' report), but not the direct source.

 

Thanks!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

4 REPLIES 4
blodus
Advocate II
Advocate II

Apparently, the Real Answer is NO - Power BI is incapable of rendering HTML. How ridiculous. I work in a real company and can't use unsupported, user-made objects to make up for PBIs lameness.

amitchandak
Super User
Super User

@Anonymous , You have HTML content , no sure if that can help

HTML content
https://appsource.microsoft.com/en-us/product/power-bi-visuals/wa200001930?tab=overview

Please create custom coumn and use this code , and enjoy

if [HMTLField] = null then null else   Html.Table([HMTLField] , {{"text",":root"}})

This worked for me, thanks!

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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