<?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 Re: Need some help with API call Power BI in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Need-some-help-with-API-call-Power-BI/m-p/3216972#M42495</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can refer the following links to connect API in Power BI Desktop by&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-query/connectors/web/web" target="_self" rel="nofollow noopener noreferrer"&gt;web connector:&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://datawithdom.com/2022/01/how-do-i-connect-to-rest-apis-with-power-bi-part-1/" target="_blank" rel="noopener"&gt;How do I connect to REST APIs with Power BI? (Part 1)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.crossjoin.co.uk/2014/03/26/working-with-web-services-in-power-query/" target="_blank" rel="nofollow noopener noreferrer"&gt;Chris Webb's BI Blog: Working with Web Services in Power Query&lt;/A&gt;&lt;/P&gt;
&lt;PRE class=""&gt;&lt;CODE&gt;Web.Contents(
  "https://www.regonline.com/api/default.asmx/GetEvents",
  [
   Query=[ #"filter"="", #"orderBy"=""],
   Headers=[#"APIToken" = "insertAPITokenHere"]
  ])&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://www.mssqltips.com/sqlservertip/6318/read-api-data-with-power-bi-using-power-query/" target="_blank" rel="nofollow noopener noreferrer"&gt;Read API Data with Power BI using Power Query&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And about how to get access token, you can refer the following video to get it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.bing.com/videos/search?q=power+bi+how+to+get+access+token&amp;amp;docid=603494612227597510&amp;amp;mid=70FF059F7F129D2BC14E70FF059F7F129D2BC14E&amp;amp;view=detail&amp;amp;FORM=VIRE" target="_blank" rel="noopener"&gt;Building a Power BI Admin View [Part 2]: Obtaining a Refreshable Access Token&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;Best Regards&lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2023 03:28:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-05-03T03:28:14Z</dc:date>
    <item>
      <title>Need some help with API call Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Need-some-help-with-API-call-Power-BI/m-p/3213345#M42452</link>
      <description>&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;so i have an API link to get data, it requires simply a post command with the api link and some body information&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the body info is as followed:&lt;/P&gt;&lt;img /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works fine in Postman and I get the data in JSON format, but im curious how i can do the same in Power BI. Any help is appreciated&lt;/P&gt;&lt;BR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also a second thing would be to make a script to receive the access token (the priority goes out to the one above)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's a simple Post login link where the body is as follows:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So the password and username and domain is given in the body, not in the authorization tab in Postman.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 01 May 2023 07:19:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Need-some-help-with-API-call-Power-BI/m-p/3213345#M42452</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-01T07:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Need some help with API call Power BI</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Need-some-help-with-API-call-Power-BI/m-p/3216972#M42495</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You can refer the following links to connect API in Power BI Desktop by&lt;SPAN&gt;&amp;nbsp;&lt;A href="https://learn.microsoft.com/en-us/power-query/connectors/web/web" target="_self" rel="nofollow noopener noreferrer"&gt;web connector:&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://datawithdom.com/2022/01/how-do-i-connect-to-rest-apis-with-power-bi-part-1/" target="_blank" rel="noopener"&gt;How do I connect to REST APIs with Power BI? (Part 1)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://blog.crossjoin.co.uk/2014/03/26/working-with-web-services-in-power-query/" target="_blank" rel="nofollow noopener noreferrer"&gt;Chris Webb's BI Blog: Working with Web Services in Power Query&lt;/A&gt;&lt;/P&gt;
&lt;PRE class=""&gt;&lt;CODE&gt;Web.Contents(
  "https://www.regonline.com/api/default.asmx/GetEvents",
  [
   Query=[ #"filter"="", #"orderBy"=""],
   Headers=[#"APIToken" = "insertAPITokenHere"]
  ])&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;A href="https://www.mssqltips.com/sqlservertip/6318/read-api-data-with-power-bi-using-power-query/" target="_blank" rel="nofollow noopener noreferrer"&gt;Read API Data with Power BI using Power Query&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And about how to get access token, you can refer the following video to get it.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.bing.com/videos/search?q=power+bi+how+to+get+access+token&amp;amp;docid=603494612227597510&amp;amp;mid=70FF059F7F129D2BC14E70FF059F7F129D2BC14E&amp;amp;view=detail&amp;amp;FORM=VIRE" target="_blank" rel="noopener"&gt;Building a Power BI Admin View [Part 2]: Obtaining a Refreshable Access Token&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;Best Regards&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 03:28:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Need-some-help-with-API-call-Power-BI/m-p/3216972#M42495</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-05-03T03:28:14Z</dc:date>
    </item>
  </channel>
</rss>

