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.
I have telemetery data from KEPServerEX's MQTT client being published to the IoT Hub. This data is then queried in stream analytics to create individual JSON values from each message which can have up to 1000 individual tag values per message. My query in stream analytics is:
<start code>
SELECT
event.timestamp as messageTS,
val.ArrayValue.id,
val.ArrayValue.v,
val.ArrayValue.t as valueTS
INTO blobstorage
FROM
mqtt AS event
CROSS APPLY GetArrayElements(event.[values]) AS val
</end code>
This provides a very nicely individually formatted JSON message like:
{"messageTS":1576108485408,"id":"example_Tag","v":910,"valueTS":1576108481860}
My blob storage is filled with these messages. Although they are properly formatted JSON message by themselves, they are part of a newline deliminted JSON file in my blob container (http://ndjson.org/).
How can I get these records into Power BI such that they were a complete list (i.e. had brackets on each end and were deliminted by commas)?
Solved! Go to Solution.
@her_abs ,
I would suggest you to refer to similar thread below:
https://community.powerbi.com/t5/Power-Query/Change-JSON-Blob-data-during-import/td-p/32121
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
@her_abs ,
I would suggest you to refer to similar thread below:
https://community.powerbi.com/t5/Power-Query/Change-JSON-Blob-data-during-import/td-p/32121
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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.
User | Count |
---|---|
113 | |
103 | |
77 | |
66 | |
63 |
User | Count |
---|---|
142 | |
105 | |
102 | |
81 | |
68 |