<?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 Passing Filters from Web UI to the embedded PowerBI Report in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Passing-Filters-from-Web-UI-to-the-embedded-PowerBI-Report/m-p/1672359#M27907</link>
    <description>&lt;P&gt;Hello PBI Experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My team is working on developing a front-end Web application UI with embedded PowerBI reports. We are providing 5 global filters for the user on front end. The user can filter the reports from the filters in the front end, which gets passed on to the powerBI from backend.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;: The client has asked to add 3 more global filters with one specific filter, denoting store_id,&amp;nbsp; having around 3000 values. it will be great if you could help me to know the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Are there any limitation for the number of filters and also the values we can pass-on from the front-end to PowerBI?&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;How many filters can we apply within PowerbI? Any limitation within that?&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;For the below process used to pass-on filter from front-end to powerbi, I am not sure how the back-end process is working. So, is the powerBI using a dax query to fetch the filter details from front-end or is it that the selected filter-value combination is being directly applied in the Filter section in powerBI from front-end?&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Any potential performance issue in context of loading of powerbi report if so many filters are applied?&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Process Used&lt;/STRONG&gt;: We are embedding powerbi in react using powerbi-report-component library. The filters are passed on to PowerBI using the following code&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;.report.setFilters(arr).then((res,rej)&amp;nbsp;=&amp;gt;&amp;nbsp;{​​​​​​​​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}​​​​​​​​).catch(function&amp;nbsp;(errors)&amp;nbsp;{​​​​​​​​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;console.log(errors);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}​​​​​​​​);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}​​​​​​​​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}​​​​​​​​&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;where arr captures the filtered values&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Thanks!&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 17 Feb 2021 16:46:30 GMT</pubDate>
    <dc:creator>saurabh_2020</dc:creator>
    <dc:date>2021-02-17T16:46:30Z</dc:date>
    <item>
      <title>Passing Filters from Web UI to the embedded PowerBI Report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Passing-Filters-from-Web-UI-to-the-embedded-PowerBI-Report/m-p/1672359#M27907</link>
      <description>&lt;P&gt;Hello PBI Experts,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My team is working on developing a front-end Web application UI with embedded PowerBI reports. We are providing 5 global filters for the user on front end. The user can filter the reports from the filters in the front end, which gets passed on to the powerBI from backend.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem&lt;/STRONG&gt;: The client has asked to add 3 more global filters with one specific filter, denoting store_id,&amp;nbsp; having around 3000 values. it will be great if you could help me to know the following:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;Are there any limitation for the number of filters and also the values we can pass-on from the front-end to PowerBI?&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;How many filters can we apply within PowerbI? Any limitation within that?&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;For the below process used to pass-on filter from front-end to powerbi, I am not sure how the back-end process is working. So, is the powerBI using a dax query to fetch the filter details from front-end or is it that the selected filter-value combination is being directly applied in the Filter section in powerBI from front-end?&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Any potential performance issue in context of loading of powerbi report if so many filters are applied?&amp;nbsp;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Process Used&lt;/STRONG&gt;: We are embedding powerbi in react using powerbi-report-component library. The filters are passed on to PowerBI using the following code&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;this&lt;/SPAN&gt;.report.setFilters(arr).then((res,rej)&amp;nbsp;=&amp;gt;&amp;nbsp;{​​​​​​​​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}​​​​​​​​).catch(function&amp;nbsp;(errors)&amp;nbsp;{​​​​​​​​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;console.log(errors);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}​​​​​​​​);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}​​​​​​​​&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}​​​​​​​​&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;where arr captures the filtered values&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;Thanks!&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;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2021 16:46:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Passing-Filters-from-Web-UI-to-the-embedded-PowerBI-Report/m-p/1672359#M27907</guid>
      <dc:creator>saurabh_2020</dc:creator>
      <dc:date>2021-02-17T16:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: Passing Filters from Web UI to the embedded PowerBI Report</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Passing-Filters-from-Web-UI-to-the-embedded-PowerBI-Report/m-p/1676611#M27956</link>
      <description>&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/285978"&gt;@saurabh_2020&lt;/a&gt;,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;#1, AFAIK, power bi does not limit the general filter usage.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;#2, I check the document but not found they mention the limits of filter usage, so I think the limit probably existed on the request content size.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;#3, I'd like to suggest you take a look at the following links to know more about power bi javascript filter and configurations:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt; &lt;A href="https://github.com/microsoft/PowerBI-JavaScript/wiki/Filters" target="_self"&gt; PowerBI-JavaScript / Filters&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;&lt;A href="https://github.com/Microsoft/PowerBI-JavaScript/wiki/Embed-Configuration-Details" target="_self"&gt;Embed Configuration Details&lt;/A&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;#4, It obviously will cause the performance issue when you try to send large amount filter values,&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Regards,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="tahoma,arial,helvetica,sans-serif"&gt;Xiaoxin Sheng&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Feb 2021 08:25:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Passing-Filters-from-Web-UI-to-the-embedded-PowerBI-Report/m-p/1676611#M27956</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-02-19T08:25:35Z</dc:date>
    </item>
  </channel>
</rss>

