Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowTry your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join now
I have a public API that's freely availabe to use by anyone (no auth required). The Request URL I have is:
https://myhospitalsapi.aihw.gov.au/api/v1/measure-downloads/measure-download-codes
This returns JSON (see JSON Result below for full result).
I'm having trouble Transforming this to a Table of data.
My hope is to have a single table that has 3 columns:- 'datasheet_code', 'datasheet_description', 'datasheet_type'.
I'm not sure how to cater for the result json format that has an extra layer sitting above these fields e.g.
JSON Result
Solved! Go to Solution.
let
Source = Web.Contents("https://myhospitalsapi.aihw.gov.au/api/v1/measure-downloads/measure-download-codes"),
Custom1 = Table.FromRecords(List.Combine(Record.ToList(Json.Document(Source)[result])))
in
Custom1
Life Saver - thanks so much
let
Source = Web.Contents("https://myhospitalsapi.aihw.gov.au/api/v1/measure-downloads/measure-download-codes"),
Custom1 = Table.FromRecords(List.Combine(Record.ToList(Json.Document(Source)[result])))
in
Custom1
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 5 | |
| 5 | |
| 4 |