Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric certified for FREE! Don't miss your chance! Learn more
I am making an API call that returns a json as text like this
let
Source = "{
""header"": [""[Value]""],
""rowCount"": 1,
""data"": [
[2.0]
]
}",
#"Converted to Table" = #table(1, {{Source}})
in
#"Converted to Table"
I want to retrieve the value of "data" and what is an efficient way of doing it. Is it possible to convert this into a PQ Record with any built-in API so that I can progrmatically access them. It already contains the key value pairs.
Thank you in advance.
Solved! Go to Solution.
Power Query has built-in JSON parsing.
let
Source = "{
""header"": [""[Value]""],
""rowCount"": 1,
""data"": [
[2.0]
]
}",
#"Parsed JSON" = Json.Document(Source)
in
#"Parsed JSON"
To grab just 2.0,
Json.Document(Source)[data]{0}{0}
Power Query has built-in JSON parsing.
let
Source = "{
""header"": [""[Value]""],
""rowCount"": 1,
""data"": [
[2.0]
]
}",
#"Parsed JSON" = Json.Document(Source)
in
#"Parsed JSON"
To grab just 2.0,
Json.Document(Source)[data]{0}{0}
@AlexisOlson Smashing !!!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 4 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 12 | |
| 12 | |
| 10 | |
| 6 | |
| 5 |