Forum Discussion

Marghe's avatar
Marghe
Frequent Visitor
8 years ago

JSON to Power BI table

Hello, 

 

I am attempting import JSON data from online APIs into Power BI. It all goes rather smoothly until I get to this point: 

 

 

when I click to expand the 'data' column, Extract Values yields this error: 

 

And Expand to New Rows creates 12 rows for each record. More specifically, it assigns the data values all years involved to each of the years. i.e. 2004 will have values for 2004, 2005, 2006, 2007 etc. 

Can anyone help me get around this and return only the value specific to each year? 

 

Many thanks, 

Marghe 

10 Replies

  • Anonymous's avatar
    Anonymous
    Not applicable

    HI Marghe,

     

    What data you stored in column as the formula of list ?

    Can you l please share some detail contents of your data and the expected result.

     

    REgards,

    Xiaoxin Sheng

    • Marghe's avatar
      Marghe
      Frequent Visitor

      Hi Anonymous!

       

      thanks for your reply! the data I'm trying to extract is the one you can find in this link Data.

      When imported into power bi through APIs, the 'Data' column list should contain all columns to the right of the 'value' column in the excel spreadsheet.

       

      Thank you for your help!

       

      Marghe

       

       

       

       

       

       

      • zoloturu's avatar
        zoloturu
        Memorable Member

        Marghe,

         

        Please provide full URL to your JSON file path here. I don't see where is it on link you've provided. I will check it. It is good to check if rows which have Data equals Record are needer or maybe you can exclude them.