Forum Discussion

szklanym's avatar
szklanym
New Member
7 years ago

Added ending bracket to JSON?

Hi,

 

i'm using Azure Stream Analytics to store events into JSON BLOBs, while the file is being written the ending bracket is missing.

This means that i can't use Power BI to read my data for a whole day.

e.g.

[

{data_1...},

{data_2...},

...

MISSING END BRACE

 

Is there away to add the missing ] before trying to parse the file?

 

Best Regards

Mikkel

4 Replies

  • Hi,

     

    i'm using Azure Stream Analytics to store events into JSON BLOBs, while the file is being written the ending bracket is missing.

    This means that i can't use Power BI to read my data for a whole day.

    e.g.

    [

    {data_1...},

    {data_2...},

    ...

    MISSING END BRACE

     

    Is there away to add the missing ] before trying to parse the file?

     

    Best Regards

    Mikkel

  • v-jiascu-msft's avatar
    v-jiascu-msft
    Microsoft Employee

    Hi Mikkel,

     

    I think we should solve it in the source of the error. 

    1. Where are the JSON BLOBs stored?

    2. Why not connecting to Azure Stream Analytics directly since it's a stream data source?

    3. Did you do it in the Desktop? Which connector?

    Added_ending_bracket_to_JSON

     

    Best Regards,

    Dale

  • Hi,

    Thanks for the reply, I'm using the desktop version since we are storing nested json objects, which are only shown as records in the online version.

    So the issue is wenn Reading json blobs in the Desktop App.
    • v-jiascu-msft's avatar
      v-jiascu-msft
      Microsoft Employee

      Hi szklanym,

       

      Is it like below? If so, I'm afraid we can't solve in Power BI Desktop side. The Desktop can't even parse it. 

      Added_ending_bracket_to_JSON_2

       

      Best Regards,

      Dale