Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
how to link json-stat like this?
Json-stat is beautiful for open data but i can't link them to Power BI....
many thks
@Ghibbli,
You can use JSON connector in Power BI Desktop to connect to the JSON file, and extract data from record and list in the imported query.
Regards,
Lydia
It doesn't work
Json-stat is a mix rdf+json
So you'll have only data, not record or structure. An example:
{"Monthly-Data-2009-Today":{ "class":"dataset", "href":"http://www.mc.camcom.it/uploaded/linked-open-data/Stock-Imprese-Attive-Italia.json", "label":"Stock Sedi di Impresa Attive in Italia per Territorio (Province e Regioni), Settore di Attività Economica (Ateco 2007) e Tempo (Frequenza Mensile, Valori fine periodo)", "note" : [], "source":"Elaborazioni CCIAA di Macerata su dati InfoCamere", "updated":"6 dicembre 2017", "extension" : { "contact" : "fabio.castelletti@mc.camcom.it", "metadata" : [ { "title" : "Open Data Explorer - Camera di Commercio di Macerata", "href" : "http://www.mc.camcom.it/P42A784C90S39/open-data.htm" }, { "title" : "Indicatore/Misura", "href" : "http://www.mc.camcom.it/uploaded/linked-open-data/data/indic.rdf" }, { "title" : "Territorio", "href" : "http://www.mc.camcom.it/uploaded/linked-open-data/data/geo.rdf" }, { "title" : "Settore di Attività Economica", "href" : "http://www.mc.camcom.it/uploaded/linked-open-data/data/ateco2007.rdf" }, { "title" : "Tempo", "href" : "http://www.w3.org/2006/time.rdf" }, { "title" : "Licenza", "href" : "http://creativecommons.org/licenses/by/4.0/" } ] }, "value":[878089,878911,879762,879262,878346,877616,876598,875251......................
url
@Ghibbli,
I make a test using a small JSON file, could you please post the expected result after importing the JSON file to Power BI Desktop?
Regards,
Lydia
Your test is correct; i'm newbie
this is an output DEMO http://www.mc.camcom.it/uploaded/Allegati/Promozione/Charts/Open-Data-Dataset.htm?url=http://www.mc....
but if you connect json-stat to power bi, it doesn't work.
http://www.mc.camcom.it/uploaded/linked-open-data/Stock-Imprese-Attive-Italia.json
probably power by doesn't understand RDF link like this in json-stat file
"title" : "Indicatore/Misura", "href" : "http://www.mc.camcom.it/uploaded/linked-open-data/data/indic.rdf"
Please consider Eurostat publishes alla open data info in this format
http://ec.europa.eu/eurostat/web/json-and-unicode-web-services/about-this-service
this is an output example
@Ghibbli,
I don't think that you can get the above result in Power BI Desktop. When connecting to your JSON file in Power BI, we can only extract values wrapped in the List/Record of the JSON file.
Regards,
Lydia
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.