<?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 jsonFilters empty after bookmark load in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/jsonFilters-empty-after-bookmark-load/m-p/961909#M22609</link>
    <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help with bookmarks and the filter api in a custom visual. Right now I am applying filters like this (I need to filter my own visual and all other visual):&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    // Invoke the self filter.
    this._visualHost.applyJsonFilter(
      filterList,
      "general",
      "selfFilter",
      powerbi.FilterAction.merge
    );
    // Invoke the filter for the other visuals.
    this._visualHost.applyJsonFilter(
      filterList,
      "general",
      "filter",
      powerbi.FilterAction.merge
    );&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the update method I get the restored filter values from the jsonFilter object like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const jsonFilterValues: powerbi.IFilter[] = options.jsonFilters;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This work fine if I just switch between pages of the report with actives filters, but this does not work, if I save a filter state in a bookmark. If I filter the report with my visual, create a new bookmark and select it afterwards the created filters are gone and the options.jsonFilters object is empty. What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
    <pubDate>Fri, 06 Mar 2020 09:37:13 GMT</pubDate>
    <dc:creator>lucmax</dc:creator>
    <dc:date>2020-03-06T09:37:13Z</dc:date>
    <item>
      <title>jsonFilters empty after bookmark load</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/jsonFilters-empty-after-bookmark-load/m-p/961909#M22609</link>
      <description>&lt;P&gt;Hey,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need help with bookmarks and the filter api in a custom visual. Right now I am applying filters like this (I need to filter my own visual and all other visual):&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    // Invoke the self filter.
    this._visualHost.applyJsonFilter(
      filterList,
      "general",
      "selfFilter",
      powerbi.FilterAction.merge
    );
    // Invoke the filter for the other visuals.
    this._visualHost.applyJsonFilter(
      filterList,
      "general",
      "filter",
      powerbi.FilterAction.merge
    );&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the update method I get the restored filter values from the jsonFilter object like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;const jsonFilterValues: powerbi.IFilter[] = options.jsonFilters;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This work fine if I just switch between pages of the report with actives filters, but this does not work, if I save a filter state in a bookmark. If I filter the report with my visual, create a new bookmark and select it afterwards the created filters are gone and the options.jsonFilters object is empty. What am I missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 09:37:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/jsonFilters-empty-after-bookmark-load/m-p/961909#M22609</guid>
      <dc:creator>lucmax</dc:creator>
      <dc:date>2020-03-06T09:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: jsonFilters empty after bookmark load</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/jsonFilters-empty-after-bookmark-load/m-p/972007#M22678</link>
      <description>&lt;P&gt;No Idea on this?&lt;/P&gt;</description>
      <pubDate>Fri, 13 Mar 2020 09:02:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/jsonFilters-empty-after-bookmark-load/m-p/972007#M22678</guid>
      <dc:creator>lucmax</dc:creator>
      <dc:date>2020-03-13T09:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: jsonFilters empty after bookmark load</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/jsonFilters-empty-after-bookmark-load/m-p/1225091#M24757</link>
      <description>&lt;P&gt;Still no idea on this? Could really use help.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2020 15:15:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/jsonFilters-empty-after-bookmark-load/m-p/1225091#M24757</guid>
      <dc:creator>lucmax</dc:creator>
      <dc:date>2020-07-15T15:15:53Z</dc:date>
    </item>
  </channel>
</rss>

