<?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: For Custom Visual, filter needs to apply for 2 columns using applyjsonfilter in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/For-Custom-Visual-filter-needs-to-apply-for-2-columns-using/m-p/3679132#M8875</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/684188"&gt;@priyanka1985_&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't tested it, but IIRC you need to use a &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/filter-api#the-tuple-filter-api-multi-column-filter" target="_self"&gt;Tuple Filter&lt;/A&gt; for multiple columns; basic and advanced filters can only use a single column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Mon, 05 Feb 2024 04:36:28 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2024-02-05T04:36:28Z</dc:date>
    <item>
      <title>For Custom Visual, filter needs to apply for 2 columns using applyjsonfilter</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/For-Custom-Visual-filter-needs-to-apply-for-2-columns-using/m-p/3673820#M8866</link>
      <description>&lt;P&gt;For Custom Visual, filter needs to apply for 2 columns using applyjsonfilter&lt;/P&gt;&lt;P&gt;tried calling basicfilterapi twice for 2 different column but it always take last filter&amp;nbsp; and also using the filterAction as merge but metadata.objects.general.filter always takes the last filter data it is not merging the previous filter with the new one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even tried the Advancedfilter , with logicaloperation as AND and in conditon passed the aaray of column and values but it doesnt and used the applyJsonFilter method with filteraction as merge, but it doesnt work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is not evening calling the VisualUpdateoption method to update the visual, even top N filter is also not working,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please suggest how to filter the data from 2 columns in cutstom visual using filter api?&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>Thu, 01 Feb 2024 19:32:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/For-Custom-Visual-filter-needs-to-apply-for-2-columns-using/m-p/3673820#M8866</guid>
      <dc:creator>priyanka1985_</dc:creator>
      <dc:date>2024-02-01T19:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: For Custom Visual, filter needs to apply for 2 columns using applyjsonfilter</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/For-Custom-Visual-filter-needs-to-apply-for-2-columns-using/m-p/3679132#M8875</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/684188"&gt;@priyanka1985_&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I haven't tested it, but IIRC you need to use a &lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/filter-api#the-tuple-filter-api-multi-column-filter" target="_self"&gt;Tuple Filter&lt;/A&gt; for multiple columns; basic and advanced filters can only use a single column.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 05 Feb 2024 04:36:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/For-Custom-Visual-filter-needs-to-apply-for-2-columns-using/m-p/3679132#M8875</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2024-02-05T04:36:28Z</dc:date>
    </item>
  </channel>
</rss>

