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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

How to create json table for easier sharing pbix file

Hello everyone, i was wondering whenever someone answers my question with pbix file, the source of the table is always a json file, and i could view the powerquery with no issue because it isnt dependnat on an excel file .so i was wondering how can i do that? So i can share my pbix with json source

1 ACCEPTED SOLUTION
AlexisOlson
Super User
Super User

If you use the Enter Data tool

AlexisOlson_0-1673741285739.png

then it will automatically create a self-contained table in the compressed JSON format. Here's what the above produces:

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WCkktLlGKjQUA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", type text}})
in
    #"Changed Type"

 

You can edit this table using the gear icon:

AlexisOlson_2-1673741498439.png

 

View solution in original post

1 REPLY 1
AlexisOlson
Super User
Super User

If you use the Enter Data tool

AlexisOlson_0-1673741285739.png

then it will automatically create a self-contained table in the compressed JSON format. Here's what the above produces:

let
    Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45WCkktLlGKjQUA", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [Column1 = _t]),
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Column1", type text}})
in
    #"Changed Type"

 

You can edit this table using the gear icon:

AlexisOlson_2-1673741498439.png

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.