Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi
On the next lines a code to connect to an API using the white Query option. Unfortunatelly althoug I´m getting the data (Image 1) I can´t save the Query, I´m getting the error that you can see on the image 2.
Important to mention that I´m creating different entities / tables that connect to the same company using different url endpoints. Also is important to mention that the API gets new data every time.
Any ideas?
@Jimmy801 maybe can you save me again?
Code:
let Final = List.Generate ( ()=> [ Result= Json.Document(Web.Contents("https://api.repsly.com/v3/export/clients/0", [Headers=[Accept="application/json"]])), TotalCount = 1 ], each [TotalCount]>0, each [ Result= Json.Document(Web.Contents("https://api.repsly.com/v3/export/clients/" & Text.From([Result][MetaCollectionResult][LastTimeStamp]), [Headers=[Accept="application/json"]])) , TotalCount = [Result][MetaCollectionResult][TotalCount] ], each [Result][Clients] ), FinalTable = Table.FromRecords(List.Combine(Final)) in FinalTable
Image 1:
Info dowloads ok
Image 2: Error when trying to save
Having the same issue with oData connection. Is there any solution?
Hi @Holguinmora ,
Please refer to the document below.
https://ssbipolar.com/2018/11/23/power-bi-dataflows-reuse-without-premium/.
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Jay hi@Anonymous
Thank you for your help
On the next images the step by step that I follow from the link that you sent me, on the refer table I tryed with enable / disable load data with the same error, any ideas?
Image 1: Paste the code
Image 2: Run the code
Image 3: Re name and disable the load option
Image 4: Create the referred Query
Image 5: Enable / Disable the load option
Image 6: Error
Image 1: Paste the code
Image 2: Run the code
Image 3: Re name and disable the load option
Image 4: Create the referred Query
Image 5: Enable / Disable the load option
Image 6: Error
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
43 | |
21 | |
20 | |
15 | |
15 |
User | Count |
---|---|
32 | |
19 | |
19 | |
16 | |
15 |