Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

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.

Reply
Celwood
Frequent Visitor

PowerBI streaming analytics or Streaming Dataflows from Azure Percept : Query language question

I have an Azure Percept with data feeding IoT Hub and then through Stream Analytics into PowerBI.

See below screenshot.  My issue :
I am trying to parse out the nested JSON array inside the JSON message coming from the Azure Percept.
I am able to see the "new" field in the test results but want to isolate the bbox and label from the JSON array.

SELECT 
     DATEPART (year, EventProcessedUtcTime) as Year,  
     DATEPART (day, EventProcessedUtcTime) as day, 
     DATEPART (month, EventProcessedUtcTime) as month, 
     event.Neural_Network as new
INTO
    pbiwindowingtest
FROM
     Perceptinput as event
     TIMESTAMP BY EventProcessedUtcTime



Celwood_0-1627825816602.png

Also tried using Streaming Dataflows in Premium Per User Capacity but seeing the data come in as blobs called [object]

Celwood_1-1627826095662.png

 

 

1 ACCEPTED SOLUTION

@V-lianl-msft Thanks for the link, that led me to search the web some more and I stumbled on https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-parsing-json which I then used to parse everything out with dot notation and GetArray functions.  I still can't get the streaming dataflows to parse JSON so I have reposted that question in the PowerBI Desktop community forum.

 

 

View solution in original post

3 REPLIES 3
MrKrukauskas
Helper I
Helper I

Hi @Celwood , may I ask about your first posted screenshot? Where is it from and how to get to the screen?

I'm working with streaming dataflows, but I don't remember coming across that screen view.

 

Thanks!

V-lianl-msft
Community Support
Community Support

Hi @Celwood ,

 

The blog once helped me solve similar problems.

Please refer to this blog:

https://www.cloudsma.com/2020/01/extracting-nested-fields-kusto/ 


Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

@V-lianl-msft Thanks for the link, that led me to search the web some more and I stumbled on https://docs.microsoft.com/en-us/azure/stream-analytics/stream-analytics-parsing-json which I then used to parse everything out with dot notation and GetArray functions.  I still can't get the streaming dataflows to parse JSON so I have reposted that question in the PowerBI Desktop community forum.

 

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.