<?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: Power BI Embedded: multiple filter selection, what if a user doesn't select a form value in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-multiple-filter-selection-what-if-a-user-doesn/m-p/2034521#M31305</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/316515"&gt;@Hugo_Gallardo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here I find a offical blog about how to use filters in Power BI embedding.&lt;/P&gt;
&lt;P&gt;I hope it could help you solve your problem.&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/control-report-filters" target="_self"&gt;Control report filters&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Aug 2021 09:30:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2021-08-24T09:30:28Z</dc:date>
    <item>
      <title>Power BI Embedded: multiple filter selection, what if a user doesn't select a form value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-multiple-filter-selection-what-if-a-user-doesn/m-p/2030276#M31260</link>
      <description>&lt;P&gt;Hello Team:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have the following problem:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whe are using a asp.net core 3 webapp, we are embeddind every visual on the webpage, about 20.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks to you we managed to set filters to every visual but we have the following problems:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) what if they select multiple variables on one checkbox selector , how do we send the data in one json selection?&lt;/P&gt;&lt;P&gt;2) What if they don't select one selector? we tried sending ["default"],&amp;nbsp;["isblank"] and only the selector, selected filtered it but the one not selected should show all values selected like in the powerbi.&lt;/P&gt;&lt;P&gt;3) Click default and return to the default values all visuals.&lt;/P&gt;&lt;P&gt;4) If the user wants to save a filter how can we achieve that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Our code goes as follows:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;function ReplaceFilters() {&lt;BR /&gt;var a = $("#In1").val();&lt;BR /&gt;var b = $("#In2").val();&lt;BR /&gt;var txt = $("#myselect1").val();&lt;BR /&gt;const filterList = [{&lt;BR /&gt;$schema: "&lt;A href="http://powerbi.com/product/schema#basic" target="_blank" rel="noopener"&gt;http://powerbi.com/product/schema#basic&lt;/A&gt;",&lt;BR /&gt;target: {&lt;BR /&gt;table: "tCalendarioNestleN",&lt;BR /&gt;column: "SemanaNestle"&lt;BR /&gt;},&lt;BR /&gt;logicalOperator: "And",&lt;BR /&gt;conditions: [{&lt;BR /&gt;operator: "GreaterThanOrEqual",&lt;BR /&gt;value: a&lt;BR /&gt;}, {&lt;BR /&gt;operator: "LessThanOrEqual",&lt;BR /&gt;value: b&lt;BR /&gt;}]&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;$schema: "&lt;A href="http://powerbi.com/product/schema#basic" target="_blank" rel="noopener"&gt;http://powerbi.com/product/schema#basic&lt;/A&gt;",&lt;BR /&gt;target: {&lt;BR /&gt;table: "tProductos",&lt;BR /&gt;column: "cveCategoria"&lt;BR /&gt;},&lt;BR /&gt;operator: "In",&lt;BR /&gt;values: ["All"]&lt;BR /&gt;}];&lt;/P&gt;</description>
      <pubDate>Sun, 22 Aug 2021 10:40:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-multiple-filter-selection-what-if-a-user-doesn/m-p/2030276#M31260</guid>
      <dc:creator>Hugo_Gallardo</dc:creator>
      <dc:date>2021-08-22T10:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Power BI Embedded: multiple filter selection, what if a user doesn't select a form value</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-multiple-filter-selection-what-if-a-user-doesn/m-p/2034521#M31305</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/316515"&gt;@Hugo_Gallardo&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here I find a offical blog about how to use filters in Power BI embedding.&lt;/P&gt;
&lt;P&gt;I hope it could help you solve your problem.&lt;/P&gt;
&lt;P&gt;For reference:&amp;nbsp;&lt;A href="https://docs.microsoft.com/en-us/javascript/api/overview/powerbi/control-report-filters" target="_self"&gt;Control report filters&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Rico Zhou&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Aug 2021 09:30:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Power-BI-Embedded-multiple-filter-selection-what-if-a-user-doesn/m-p/2034521#M31305</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2021-08-24T09:30:28Z</dc:date>
    </item>
  </channel>
</rss>

