Created
June 5, 2020 00:21
-
-
Save ninmonkey/0a35f2d8314c40a65124fb89166e015b to your computer and use it in GitHub Desktop.
Using JSON from a web api in PowerBI.pq
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let | |
// basic json ( non-authenticated get request ) | |
Source_Json = Json.Document(Web.Contents("https://api.publicapis.org/random")), | |
Source_Table = Record.ToTable(Source_Json), | |
Entries = Source_Table{ [Name="entries"] }[Value], | |
result=Entries | |
in | |
result |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment