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

Display text without HTML code, but with formatting

Hi,

 

I loaded the data from the Sharepoint list into Power BI. The text fields were in HTML format. E.g.
<div class = "ExternalClassDB4D9 ....."> <div> <div> Q1 <br> ....
To remove the HTML code, I used the FieldValuesAsText function, but got plain text. All text formatting is gone. There is a lot of text, so it has to be displayed from new lines somewhere and so on.
Is it possible to leave HTML code that preserves formatting but display in a dashboard without HTML code? Text only?

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Currently Power BI does support Rich text field. Just change the data type of field to plain text in Sharepoint itself.

Other way is you can use HTML content custom visual, but it does not support export to pdf or ppt format.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Currently Power BI does support Rich text field. Just change the data type of field to plain text in Sharepoint itself.

Other way is you can use HTML content custom visual, but it does not support export to pdf or ppt format.

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.