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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
D_Lav
Frequent Visitor

Call Power BI Rest API from Power BI Desktop

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, 

PBIRest.PNG

 

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

0 REPLIES 0

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors