We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
This is my first time trying to use REST API as a data source and I really have no idea what I'm doing.
I'm using open data source provider's api as source:
https://data.fingrid.fi/open-data-api/#
I use two parameters in my query: pURL and pAPIKey.
let
Source = Json.Document(Web.Contents(pURL, [Headers=[Authorization="api-key "&pAPIKey]])),
messages = Source[messages]
in
SourceI get error message that my credentials are invalid.
Can anyone suggest material where I can learn how to do this. Any query examples are also useful!
There are so many interesting data sources that I'd like to use but I cannot even manage to setup this one.
Hi, I'm tryin the same with fingrid api, but I have problems with accessing to the data. My url format might be wrong or I try to ad the api key wrong. Did you get streaming dataset?
Hi @tondeli,
You can take a look at below samples to call rest API use web data source:
How to call REST APIs and parse JSON with Power BI
Calling REST APIs and Parsing JSON made simple with Power BI
To create a streaming dataset, you can follow this article: Real-time streaming in Power BI.
Best Regards,
Qiuyun Yu
My syntax was incorrect.
let
Source = Json.Document(Web.Contents(pURL, [Headers=[#"x-api-key"=pAPIKey]])),
messages = Source[messages]
in
Source
What should I do next if I'd like to create streaming data set based on this query?
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
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 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 10 | |
| 8 | |
| 7 | |
| 7 | |
| 5 |