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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
anusha_2023
Helper IV
Helper IV

Recongnize HTML tags to create Description column in Matrix

Hi! I am trying to create Custom column to recognize rich text in this way and I am having issue. Can anyoneyou help me to solve this issue here. Later I need to use this column in the matrix. Thanks

anusha_2023_0-1736885185072.png

 

 

1 ACCEPTED SOLUTION

Simply add a custom column in Power Query :

Html.Table([Column1], {{"ExtractedText",":root"}})

Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

View solution in original post

3 REPLIES 3
AmiraBedh
Super User
Super User

The HTML.Table function you are trying to use does not exist in DAX. Power BI does not have built-in DAX functions to parse or handle HTML content.

Can you provide the expected result so we can help you ?


Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

I have a column in the table this way below

anusha_2023_0-1736887018427.png

I need to show this column in the matrix instead of cleaning HTML tags I am trying to translate as Rich text. Is there anyway to translate the column . Any suggestions. Thanks!

Simply add a custom column in Power Query :

Html.Table([Column1], {{"ExtractedText",":root"}})

Proud to be a Power BI Super User !

Microsoft Community : https://docs.microsoft.com/en-us/users/AmiraBedhiafi
Linkedin : https://www.linkedin.com/in/amira-bedhiafi/
StackOverflow : https://stackoverflow.com/users/9517769/amira-bedhiafi
C-Sharp Corner : https://www.c-sharpcorner.com/members/amira-bedhiafi
Power BI Community :https://community.powerbi.com/t5/user/viewprofilepage/user-id/332696

Helpful resources

Announcements
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan NL Carousel

Fabric Community Update - January 2025

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