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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Web API - Extract All Records from Multiple Lists

Hi,

 

I'm connecting to a Web API to bring data into my PBIX file. I'm not quite sure how to extract all the records from the multiple list options available. Here's a screenshot of what I can see:

 

01.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

I'd like to extract these into one table without having to create separate ones to blend together.

 

Here's the code from my Advanced Editor at present - I've hidden the URL and Authorisation:

 

let
    Source = Json.Document(Web.Contents("URL", [Headers=[Accept="application/json", Authorization="AUTHORISATION"]])),
    #"Converted to Table" = Record.ToTable(Source)
in
    #"Converted to Table"

 

Can anyone help me with this? My M Language skills are a bit rusty.

 

Thanks,

Mark

4 REPLIES 4
PhilipTreacy
Super User
Super User

Hi @Anonymous 

Can you please share the JSON data you've got from the API?  Or at least an anonymised sample?

Phil


If I answered your question please mark my post as the solution.
If my answer helped solve your problem, give it a kudos by clicking on the Thumbs Up.



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


Anonymous
Not applicable

Hi @PhilipTreacy ,

 

I'm afraid not, it's sensitive data. But that shouldn't really matter, as long as the dimensions, measures and data fields from the table can be extracted.

 

Thanks,

Mark

@Anonymous 

Hard to know how to extract it without knowing the underlying data structure



Did I answer your question? Then please mark my post as the solution.
If I helped you, click on the Thumbs Up to give Kudos.


Blog :: YouTube Channel :: Connect on Linkedin


Proud to be a Super User!


@Anonymous , difficult to tell, refer if these can help

https://www.youtube.com/watch?v=ipI6mrWLQKA
https://www.mssqltips.com/sqlservertip/4621/using-power-bi-with-json-data-sources-and-files/
https://zappysys.com/blog/howto-import-json-rest-api-power-bi/?gclid=EAIaIQobChMI7Za92YSi6wIVFSQrCh0vDgIgEAAYASAAEgLd5_D_BwE

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors