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
Anonymous
Not applicable

Converting a JSON call to table

Hi,

 

I can call the data i would like into Power Bi via a JSON call and it brings it back as the below:

 Screen Shot 2019-04-17 at 11.41.03.png

 

I then tried selecting converty to table:

 

Screen Shot 2019-04-17 at 11.41.37.png

 

but this gives me the below which errors out no matter what options i choose:

 

Screen Shot 2019-04-17 at 11.42.05.png

 

I then tried opening the list to the recoprd level and converting to table:

 

Screen Shot 2019-04-17 at 11.43.15.png

 

but this also errors out when being converted to a table:

 

Error:

Expression.Error: We cannot convert a value of type Record to type Text.
Details:
    Value=Record
    Type=Type

An example of an open record on my data is:

 

Screen Shot 2019-04-17 at 11.43.44.png

 

 Can anyone advise on the best way to import data into a table so i can then build a report as normal?

 

Much appreciated.

2 ACCEPTED SOLUTIONS

I would recommend not to touch any of the parameters in the UI-dialogue. Just accept the default-values as they are.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

View solution in original post

Anonymous
Not applicable

That worked.  I was trying to force a seperator.  Simole solution .... leave it alone!

 

Thanks for your help.

View solution in original post

8 REPLIES 8
MFelix
Super User
Super User

Hi @Anonymous ,

 

Check this post believe that as the answer you need for your question.

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Hi Mfelix,

 

Thansk for pointing me in the direction but this is not allowing me to do the steps outlined in your link.

 

I cannot convert to table as at step one as i get the following prompt:

Screen Shot 2019-04-17 at 15.31.53.png

 

and no matter what option i choose i get the below error:

Screen Shot 2019-04-17 at 15.33.25.png

 

I have tried transforming the table / column but this has not worked either?

 

Can yourself or anyone else advise on a way round this issue?

 

Much thanks,

Hi @Anonymous ,

 

I don't have any sample data to experiment with the same erro as you have, did you check the blog post that was in the previous post I suggested?

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



Anonymous
Not applicable

Hi Mfelix,

 

Thansk for pointing me in the direction but this is not allowing me to do the steps outlined in your link.

 

I cannot convert to table as at step one as i get the following prompt:

Screen Shot 2019-04-17 at 15.31.53.png

 

and no matter what option i choose i get the below error:

Screen Shot 2019-04-17 at 15.33.25.png

 

I have tried transforming the table / column but this has not worked either?

 

Can yourself or anyone else advise on a way round this issue?

 

Much thanks,

I would recommend not to touch any of the parameters in the UI-dialogue. Just accept the default-values as they are.

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

@ImkeF ,

 

Always at your best game Smiley Happy

 

Regards,

MFelix


Regards

Miguel Félix


Did I answer your question? Mark my post as a solution!

Proud to be a Super User!

Check out my blog: Power BI em Português



🙂

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Anonymous
Not applicable

That worked.  I was trying to force a seperator.  Simole solution .... leave it alone!

 

Thanks for your help.

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.