Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi,
Would really love to see this works since i cant even think about all the possibilities.
Is it possible to call Power BI REST API from Power BI desktop?
I am creating admin documentation and listing all datasets within my tenant and want to join these to used Gateways. I dont want to list all manually since there are around 40 Gateways and a couple of hundred datasets.
My test was to create a function in Power BI desktop which retrieves Gateway ID from my list of datasetID from Power BI REST API - https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasources
BUT, it dont allow access when i try to invoke the function over the table of datasetIDs,
Is there something else handy i could do to get all of this information? Or am i thinking about this completly wrong? have googled alot but nothing unfortunatly so now i turn to the almighty community.
All the best
/D
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 3 | |
| 3 | |
| 2 | |
| 2 |