Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register 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
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 11 | |
| 10 | |
| 7 | |
| 7 | |
| 6 |