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

Score big with last-minute savings on the final tickets to FabCon Vienna. Secure your discount

Reply
titanconsulting
Frequent Visitor

Base64 to html conversion in power query

As the title suggests - I need to convert a field from base64 to html.  I'll then use the HTML viewer to display the fields in the table.

 

I'm trying two different things (both sourced from the internet)

 

Lines.FromBinary(Binary.FromText([StatusTxt],BinaryEncoding.Base64), null, null, 1252){0}

 

This is succefully changing to HTML, but for some reason, it's only coding the first paragraph and then stops??   I can tell this in the raw data in HTML format as well as when I put it in the HTML viewer visual.

 

 

Binary.Decompress(Binary.FromText([StatusTxt], BinaryEncoding.Base64))

 

This gives me the error on every row 'Expression.Error: The key matched more than one row in the table.'

 

What am I doing wrong?

1 REPLY 1
Anonymous
Not applicable

Hi @titanconsulting,

Can you please share some dummy data that keep the raw data structure? It should help us clarify your scenario and test to coding formula.

How to Get Your Question Answered Quickly  

Regards,

Xiaoxin Sheng

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.