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

Level up your Power BI skills this month - build one visual each week and tell better stories with data! Get started

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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Top Kudoed Authors