Quantcast
Channel: Power Query topics
Viewing all articles
Browse latest Browse all 31070

JSON API | Expression.Error: We cannot convert a value of type Record to type List.

$
0
0

Hi,

 

I'm trying to import some api data into powerbi and get the error;

 

Expression.Error: We cannot convert a value of type Record to type List.

Details:
Value=Record
Type=Type

 

The JSON extract from the api looks like this below and I can individually extract one record but not the whole model.  I'm new to JSON and I'm confused how I am supposed to convert the whole dataset to a table?

 

[
{
"configuration_items" : [],
"new_attachments" : [],
"new_logs" : [],
"summary" : "123",
"last_update_at" : "2017-11-06 21:56:08+00",
"case_type" : "Request for Information",
"ticket_number" : "TK-QA-00014999",
"created_at" : "2017-11-06 21:56:08+00",
"priority" : "PRI-333",
"category" : "CTI-QA-00000016",
"ticket_state" : "Open - Needs Attention",
"external_ref" : "INC"
},

[
{
"configuration_items" : [],
"new_attachments" : [],
"new_logs" : [],
"summary" : "123",
"last_update_at" : "2017-11-06 21:56:08+00",
"case_type" : "Request for Information",
"ticket_number" : "TK-QA-00000009",
"created_at" : "2017-11-06 21:56:08+00",
"priority" : "PRI-333",
"category" : "CTI-QA-00000016",
"ticket_state" : "Open - Needs Attention",
"external_ref" : "INC"
}

]


Viewing all articles
Browse latest Browse all 31070

Trending Articles