<?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: Get data from API in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-API/m-p/784262#M20650</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any update ? If my replay helps please accept it as answer/giving kudos which will help other community members&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2019 06:20:23 GMT</pubDate>
    <dc:creator>Jayendran</dc:creator>
    <dc:date>2019-09-05T06:20:23Z</dc:date>
    <item>
      <title>Get data from API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-API/m-p/769176#M20415</link>
      <description>&lt;P&gt;Hi Communitty!&lt;/P&gt;&lt;P&gt;I have a report with a list and some filters. I want to send the filters parameters throiugh the API and then get the data of the list (the list of one of the columns) through the API.&lt;/P&gt;&lt;P&gt;Is this possible? Couldn' find it in the API documentation.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 09:16:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-API/m-p/769176#M20415</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-08-18T09:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-API/m-p/769653#M20432</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can use&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Query string parameter syntax for filtering&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="power-bi-filter-urls7b" style="width: 722px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/185829iE4C6865CEAF5B22E/image-size/large?v=v2&amp;amp;px=999" role="button" title="power-bi-filter-urls7b" alt="power-bi-filter-urls7b" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.microsoft.com/en-us/power-bi/service-url-filters#uses-for-query-string-parameters" target="_blank"&gt;https://docs.microsoft.com/en-us/power-bi/service-url-filters#uses-for-query-string-parameters&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are using PowerBI Embedded then you can &lt;SPAN&gt;use&amp;nbsp;&lt;/SPAN&gt;&lt;A title="" href="https://github.com/Microsoft/PowerBI-JavaScript" target="_self" rel="nofollow noopener noreferrer"&gt;PowerBI-JavaScript&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;API to&amp;nbsp;set filters with Power BI Embedded. For more details, you can refer to&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;PowerBI-JavaScript wiki&amp;nbsp;&lt;A title="" href="https://github.com/Microsoft/PowerBI-JavaScript/wiki/Filters" target="_self" rel="nofollow noopener noreferrer"&gt;Filters&lt;/A&gt;.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;const filter = { ... };

report.setFilters([filter])
  .catch(errors =&amp;gt; {
    // Handle error
  });&lt;/PRE&gt;&lt;PRE&gt;const basicFilter: pbi.models.IBasicFilter = {
  $schema: "http://powerbi.com/product/schema#basic",
  target: {
    table: "Store",
    column: "Count"
  },
  operator: "In",
  values: [1,2,3,4]
}&lt;/PRE&gt;</description>
      <pubDate>Mon, 19 Aug 2019 09:40:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-API/m-p/769653#M20432</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-08-19T09:40:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-API/m-p/784262#M20650</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any update ? If my replay helps please accept it as answer/giving kudos which will help other community members&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 06:20:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-API/m-p/784262#M20650</guid>
      <dc:creator>Jayendran</dc:creator>
      <dc:date>2019-09-05T06:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get data from API</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-API/m-p/784269#M20655</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks it helped! That looks like the way to set the filters, I'm still looking for a solution to how to get the data results via the API.&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 06:26:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Get-data-from-API/m-p/784269#M20655</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-09-05T06:26:09Z</dc:date>
    </item>
  </channel>
</rss>

