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
saiprathapdp
Frequent Visitor

Unable to convert JSON to Text format

We are not able to convert JSON format data in transform data. after converting to JSON we are getting no columns were found. like below screenshot.

 

{"v":{"f":[{"v":"95FF-2EF5-5EA1"},{"v":"Cloud Storage"}]}}

 

saiprathapdp_0-1688963059890.png

 

 

3 REPLIES 3
Mahesh0016
Super User
Super User

@saiprathapdp 
> Please Following Step :
1> Right click on cloumn then reffer Screen Shot

Mahesh0016_0-1688972023684.pngMahesh0016_1-1688972562311.pngMahesh0016_2-1688972589283.png

after select your needed column press OK end get your output.THANK YOU!!

I tried this step, expand is not working because there is no data.

saiprathapdp_0-1688972836551.png

 

@saiprathapdp Please try below M code. i hope this helps you! Thank You!!

let
Source = Table.FromRows(Json.Document(Binary.Decompress(Binary.FromText("i45Wqo5RKotRsgJSaUAqGsqNUbI0dXPTNXJ1M9U1dXU0jFGq1YFLOefkl6YoBJfkFyWmpwJlYmtrlWJjAQ==", BinaryEncoding.Base64), Compression.Deflate)), let _t = ((type nullable text) meta [Serialized.Text = true]) in type table [JSN = _t]),
#"Changed Type" = Table.TransformColumnTypes(Source,{{"JSN", type text}}),
#"Parsed JSON" = Table.TransformColumns(#"Changed Type",{},Json.Document),
#"Expanded JSN" = Table.ExpandRecordColumn(#"Parsed JSON", "JSN", {"v"}, {"JSN.v"}),
#"Expanded JSN.v" = Table.ExpandRecordColumn(#"Expanded JSN", "JSN.v", {"f"}, {"JSN.v.f"}),
#"Expanded JSN.v.f" = Table.ExpandListColumn(#"Expanded JSN.v", "JSN.v.f"),
#"Expanded JSN.v.f1" = Table.ExpandRecordColumn(#"Expanded JSN.v.f", "JSN.v.f", {"v"}, {"JSN.v.f.v"})
in
#"Expanded JSN.v.f1"

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.

Top Solution Authors