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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now

Reply
Anonymous
Not applicable

Unexpected error in the query 'Transform homedailydata file'. (JSON FORMAT ERROR?)

I am trying to get data from Azure Blob Storage. 

 

This is the error I get:

Unexpected error in the query 'Transform homedailydata file'. Expression.Error: Cannot convert a List type value to the Record type.
Details
    Value=List
    Type=Type

This is the content of the file:

 

[{"voltage_mv":228382,"current_ma":21,"timestamp":"2019-05-12T10:36:25.861711","energy_wh":115,"power_mw":0},{"voltage_mv":228410,"current_ma":22,"timestamp":"2019-05-12T10:36:30.942967","energy_wh":115,"power_mw":0},{"voltage_mv":228302,"current_ma":22,"timestamp":"2019-05-12T10:36:35.877081","energy_wh":115,"power_mw":0},{"voltage_mv":228331,"current_ma":21,"timestamp":"2019-05-12T10:36:40.957370","energy_wh":115,"power_mw":0},{"voltage_mv":228565,"timestamp":"2019-05-12T10:37:19.149209","current_ma":22,"energy_wh":115,"power_mw":0},{"timestamp": "2019-05-11T23:45:06.875618", "current_ma": 21, "power_mw": 0, "energy_wh": 0, "voltage_mv": 0}]

It is just power consumption values and the timestamp when they were measured (every 5 seconds).

 

Can anyone offer any help?

1 REPLY 1
v-juanli-msft
Community Support
Community Support

Hi @Anonymous 

Here is a similar thread you could refer to:

import JSON files from an Azure Blob Storage

If it doesn't help, please share me the code in Advanced editor untill the error shows.

 

Best Regards
Maggie

 

Community Support Team _ Maggie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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