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

July 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is your chance. Learn more

Reply
JollyRoger01
Helper III
Helper III

How to include hardcoded table data in a Power Query rather than sending a seperate source file

I have seen a lot of users on here post queries that include tables in some weird binary format that saves having to also send the data source e.g.

 

 

Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WSlSK1Yl......

 

 

Can someone please tell me what this is called and how I can translate my csv file into this format so I can just post a single query on the forum that people can run without additional files (in Excel)?

 

3 REPLIES 3
v-kelly-msft
Community Support
Community Support

Hi @JollyRoger01,

 

You could decode the text into binary format using Binary.From or Binary.FromText:

https://docs.microsoft.com/en-us/powerquery-m/binary-fromtext

https://docs.microsoft.com/en-us/powerquery-m/binary-from

 

 

Best Regards,
Kelly

Did I answer your question? Mark my post as a solution!

 

AlB
Community Champion
Community Champion

Hi @JollyRoger01

Just go to "Enter data" and paste your data there. PQ will automatically create a new query with that code at the beginning for you

   

 

AlB_0-1623224650332.png

 

SU18_powerbi_badge

Please accept the solution when done and consider giving a thumbs up if posts are helpful. 

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

 

I think this might be a version thing. I am using Excel 2016 and I don't have that option. I can do so in Power BI Desktop though.

Helpful resources

Announcements
Fabric Community Sticker Design Challenge Barcelona Carousel

Fabric Community Sticker Challenge - Barcelona 2026

If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!

July Power BI Update Carousel

Power BI Monthly Update - July 2026

Check out the July 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.