<?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: Custom Date Slicer noting working on initial load when hidden with bookmark in Custom Visuals Development Discussion</title>
    <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Date-Slicer-noting-working-on-initial-load-when-hidden/m-p/3637077#M8738</link>
    <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have hidden a visual on the page, Power BI doesn't load it until it is needed, i.e., it is &lt;A href="https://dax.tips/2019/12/24/use-bookmarks-to-lazyload-visuals/" target="_self"&gt;lazy-loaded&lt;/A&gt;. The visual must be visible on the page to have any filters it sends to Power BI applied. If the visual is inactive/visible, Power BI does not acknowledge any filter from it, nor will it restore any filter to it (as it doesn't exist on the page at that moment).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Sat, 13 Jan 2024 08:07:59 GMT</pubDate>
    <dc:creator>dm-p</dc:creator>
    <dc:date>2024-01-13T08:07:59Z</dc:date>
    <item>
      <title>Custom Date Slicer noting working on initial load when hidden with bookmark</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Date-Slicer-noting-working-on-initial-load-when-hidden/m-p/3636108#M8737</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I created a cusotmer date slicer with React. It works well and I implemented bookmark capability so when I hid the slicer it will save the filter and apply when it is unhidden again.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This functionality works fine but when I load the report with the slicer hidden, it applies no filter. I can see in the consol that React componant is never initalized on report load.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm a bit stumpped, any idea why this is?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Jan 2024 14:35:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Date-Slicer-noting-working-on-initial-load-when-hidden/m-p/3636108#M8737</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-12T14:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Date Slicer noting working on initial load when hidden with bookmark</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Date-Slicer-noting-working-on-initial-load-when-hidden/m-p/3637077#M8738</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have hidden a visual on the page, Power BI doesn't load it until it is needed, i.e., it is &lt;A href="https://dax.tips/2019/12/24/use-bookmarks-to-lazyload-visuals/" target="_self"&gt;lazy-loaded&lt;/A&gt;. The visual must be visible on the page to have any filters it sends to Power BI applied. If the visual is inactive/visible, Power BI does not acknowledge any filter from it, nor will it restore any filter to it (as it doesn't exist on the page at that moment).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2024 08:07:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Date-Slicer-noting-working-on-initial-load-when-hidden/m-p/3637077#M8738</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2024-01-13T08:07:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Date Slicer noting working on initial load when hidden with bookmark</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Date-Slicer-noting-working-on-initial-load-when-hidden/m-p/3637335#M8740</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp; for your response, that was my fear. Would it possible to listen for the report load even and filter the data while the visual is hidden?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or maybe I can "hide" my slicer in my React component behind a button and only show the slicer when the button is clicked?&lt;/P&gt;</description>
      <pubDate>Sat, 13 Jan 2024 20:11:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Date-Slicer-noting-working-on-initial-load-when-hidden/m-p/3637335#M8740</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-13T20:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Date Slicer noting working on initial load when hidden with bookmark</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Date-Slicer-noting-working-on-initial-load-when-hidden/m-p/3637886#M8748</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your visual must be visible on the canvas (according to Power BI) for any active filters to apply. Power BI won't care &lt;EM&gt;what&lt;/EM&gt; your visual is displaying within its iframe, so I suggest you update your visual's UI accordingly with a suitable component if you want it 'hidden' for the end user at a specific point. When the filter is 'visible,' you would restore the conventional UI for users in your app via logic.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Sun, 14 Jan 2024 23:12:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Date-Slicer-noting-working-on-initial-load-when-hidden/m-p/3637886#M8748</guid>
      <dc:creator>dm-p</dc:creator>
      <dc:date>2024-01-14T23:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Date Slicer noting working on initial load when hidden with bookmark</title>
      <link>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Date-Slicer-noting-working-on-initial-load-when-hidden/m-p/3657570#M8815</link>
      <description>&lt;P&gt;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/397"&gt;@dm-p&lt;/a&gt;&amp;nbsp;thank you for the advice. I think this approch would work but it causes some layout issue with my report.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternativly, would it be possible to create a second visual that displays nothing and just applies a filter on report load? I tried this approach by can seem to get the two visuals to synchronize when I load the other hidden visual. My dataview for the second visual is always filtered and can seem to find a way to remove the filter of the first visual.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Jan 2024 15:56:12 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Custom-Visuals-Development/Custom-Date-Slicer-noting-working-on-initial-load-when-hidden/m-p/3657570#M8815</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-01-24T15:56:12Z</dc:date>
    </item>
  </channel>
</rss>

