<?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 Custom visual Filter Api - cross filtering in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-Filter-Api-cross-filtering/m-p/3987980#M53331</link>
    <description>&lt;P&gt;Hello All,&lt;BR /&gt;I am creating a custom visual where I need to know on which field I am getting filtered data.&lt;BR /&gt;for eg: let say I have my visual containing 3 fields now there is another slicer (powerbi slicer) visual which contain one of the three fields. Now if the filter has been applied from powerbi-slicer, how can I identify on which field filter has been applied?&lt;BR /&gt;&lt;BR /&gt;Currently What I am doing is saving initial load whole data and on each rendering I am checking if there is filter happening or not (by dataViews metadata properties "&lt;SPAN&gt;isDataFilterApplied") if there is filteration then I am comparing for any differences but this is also not working in some cases.&lt;BR /&gt;&lt;BR /&gt;Please Help, Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2024 08:28:24 GMT</pubDate>
    <dc:creator>Anujshaan</dc:creator>
    <dc:date>2024-06-12T08:28:24Z</dc:date>
    <item>
      <title>Custom visual Filter Api - cross filtering</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-Filter-Api-cross-filtering/m-p/3987980#M53331</link>
      <description>&lt;P&gt;Hello All,&lt;BR /&gt;I am creating a custom visual where I need to know on which field I am getting filtered data.&lt;BR /&gt;for eg: let say I have my visual containing 3 fields now there is another slicer (powerbi slicer) visual which contain one of the three fields. Now if the filter has been applied from powerbi-slicer, how can I identify on which field filter has been applied?&lt;BR /&gt;&lt;BR /&gt;Currently What I am doing is saving initial load whole data and on each rendering I am checking if there is filter happening or not (by dataViews metadata properties "&lt;SPAN&gt;isDataFilterApplied") if there is filteration then I am comparing for any differences but this is also not working in some cases.&lt;BR /&gt;&lt;BR /&gt;Please Help, Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2024 08:28:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-Filter-Api-cross-filtering/m-p/3987980#M53331</guid>
      <dc:creator>Anujshaan</dc:creator>
      <dc:date>2024-06-12T08:28:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom visual Filter Api - cross filtering</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-Filter-Api-cross-filtering/m-p/3990589#M53387</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/578087"&gt;@Anujshaan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You might consider using the SelectionManager to keep track of which data points are selected.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/selection-api" target="_blank"&gt;https://learn.microsoft.com/en-us/power-bi/developer/visuals/selection-api&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This is the related document, you can view this content:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/consumer/end-user-personalize-visuals" target="_blank"&gt;Personalize visuals in a report - Power BI | Microsoft Learn&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://learn.microsoft.com/en-us/power-bi/developer/visuals/power-bi-custom-visuals" target="_blank"&gt;Main sources for acquiring Power BI custom visuals - Power BI | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://appsource.microsoft.com/en-us/product/power-bi-visuals/WA104381299" target="_blank"&gt;Power KPI Matrix (microsoft.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jun 2024 08:22:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Custom-visual-Filter-Api-cross-filtering/m-p/3990589#M53387</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-06-13T08:22:23Z</dc:date>
    </item>
  </channel>
</rss>

