Forum Discussion
An json example
How to make this jason work in powe bi?
{"root":[{"catchCount":127,"DisplayName":"Forward to Diagnostics Team","SeriesName":"Alarm Category"},{"catchCount":2684,"DisplayName":"Retrain Model","SeriesName":"Alarm Category"},{"catchCount":15,"DisplayName":"True Alarm","SeriesName":"Alarm Category"},{"catchCount":213,"DisplayName":"Contact Plant","SeriesName":"Alarm Classification"},{"catchCount":9,"DisplayName":"Contact Support","SeriesName":"Alarm Classification"},{"catchCount":2599,"DisplayName":"Monitor","SeriesName":"Alarm Classification"},{"catchCount":4,"DisplayName":"Schedule Maintenance","SeriesName":"Alarm Classification"},{"catchCount":204,"DisplayName":"Electrical Problem","SeriesName":"Alarm Clear"},{"catchCount":9,"DisplayName":"Historian Offline","SeriesName":"Alarm Clear"},{"catchCount":2608,"DisplayName":"Mechanical Problem","SeriesName":"Alarm Clear"},{"catchCount":2,"DisplayName":"Network Problem","SeriesName":"Alarm Clear"},{"catchCount":9,"DisplayName":"Stuck Valve","SeriesName":"Alarm Clear"}]}
thanks
Here's a video stepping through the sample. The most important two parts are:
1) once you get to the step that shows "Record" for every list item, convert it to a table
2) expand using the double arrows at the top of Column
5 Replies
- AnonymousNot applicable
Hi Markzolotoy,
Have you tried to connect to the JSON file via Get Data>File>JSON in Power BI Desktop?
Also you can use Get Data > Web and enter the URL (or local path) to the JSON file to connect it. For more details, please review the following blog and similar thread.
https://eriksvensen.wordpress.com/2014/09/15/specifying-json-query-in-power-query-example-statistics-sweden/
http://superuser.com/questions/977249/loading-a-json-file-into-power-query/977376#977376
Thanks,
Lydia Zhang- MarkzolotoyImpactful Individual
I know how to point PBI to json. I am asking what kind of tweaks are required to get shown example to be interpreted properly.
- deldersveldResident Rockstar
Here's a video stepping through the sample. The most important two parts are:
1) once you get to the step that shows "Record" for every list item, convert it to a table
2) expand using the double arrows at the top of Column
- Bisyri_MustofaNew Member
Thank you