<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Call Power BI Rest API from Power BI Desktop in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Call-Power-BI-Rest-API-from-Power-BI-Desktop/m-p/1006086#M22935</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would really love to see this works since i cant even think about all the possibilities.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to call Power BI REST API from Power BI desktop?&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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 -&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasources" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasources&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BUT, &lt;U&gt;it dont allow access&lt;/U&gt; when i try to invoke the function over the table of datasetIDs,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PBIRest.PNG" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/252662iAECF00420ECF6841/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PBIRest.PNG" alt="PBIRest.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the best&lt;/P&gt;&lt;P&gt;/D&lt;/P&gt;</description>
    <pubDate>Fri, 03 Apr 2020 05:13:09 GMT</pubDate>
    <dc:creator>D_Lav</dc:creator>
    <dc:date>2020-04-03T05:13:09Z</dc:date>
    <item>
      <title>Call Power BI Rest API from Power BI Desktop</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Call-Power-BI-Rest-API-from-Power-BI-Desktop/m-p/1006086#M22935</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would really love to see this works since i cant even think about all the possibilities.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to call Power BI REST API from Power BI desktop?&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;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 -&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasources" target="_blank" rel="noopener"&gt;https://docs.microsoft.com/en-us/rest/api/power-bi/datasets/getdatasources&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BUT, &lt;U&gt;it dont allow access&lt;/U&gt; when i try to invoke the function over the table of datasetIDs,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="PBIRest.PNG" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/252662iAECF00420ECF6841/image-size/medium?v=v2&amp;amp;px=400" role="button" title="PBIRest.PNG" alt="PBIRest.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All the best&lt;/P&gt;&lt;P&gt;/D&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 05:13:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Call-Power-BI-Rest-API-from-Power-BI-Desktop/m-p/1006086#M22935</guid>
      <dc:creator>D_Lav</dc:creator>
      <dc:date>2020-04-03T05:13:09Z</dc:date>
    </item>
  </channel>
</rss>

