Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by attending the DP-600 session on April 23rd (pacific time), live or on-demand.
Learn moreNext up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now
Hello,
I generated a API from a website hosting data and used it to create my power query source code which is a follows:
= Json.Document(Web.Contents("https://ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/prc_hicp_midx?format=JSON&freq=M..."))
At that point, the following is displayed. I have been searching to no avail to learn how to turn this into the data. How do I get at the data?
Solved! Go to Solution.
So, I have spent more time then I would have liked to understand the JSON response that you have and your issues. Which is kinda of a good thing to learn something new. So here is the breakdown...
YOur code to use is prc_hicp_midx
The tool URL is Tool - Query Builder - Eurostat (europa.eu)
I saw that the source code in Power Query was truncated so let me give the complete code incase someone would please use it to create the solution.
=Json.Document(Web.Contents("https://ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/prc_hicp_midx?format=JSON&freq=M..."))
Incase it truncates it again when i repost this, here is the code in sections.
= Json.Document(Web.Contents(
"https:
//ec.europa.eu/eurostat/api/dissemination/statistics/1.0/data/prc_hicp_midx?format=JSON&freq=M&unit=I15&coicop=CP00"))
What should the data look like from the response? That is to say, how is it structured in the source? Can you provide a sample or screenshot?
Are you able to change the API? The API is creating objects, but it is not well structured.
here is the link to the data I show above
Statistics | Eurostat (europa.eu)
https://ec.europa.eu/eurostat/databrowser/view/prc_hicp_midx/default/table?lang=en
So, I have spent more time then I would have liked to understand the JSON response that you have and your issues. Which is kinda of a good thing to learn something new. So here is the breakdown...
YOur code to use is prc_hicp_midx
The tool URL is Tool - Query Builder - Eurostat (europa.eu)
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.
Experience the highlights from FabCon & SQLCon, available live and on-demand starting April 14th.
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 7 | |
| 5 | |
| 5 | |
| 5 | |
| 4 |