<?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: Dynamic bookmark in SaaS not working as expected in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1967290#M79733</link>
    <description>&lt;P&gt;Thanks for the detailed explanation&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6622"&gt;@hic&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have similar issues. I have a date field&amp;nbsp;&lt;STRONG&gt;[Release Date.autoCalendar.Date]&amp;nbsp;&lt;/STRONG&gt;and I want a bookmark that will always select yesterday's date on this field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(1) I typed following search string in this date filter&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=Only({1} [Release Date.autoCalendar.Date]) =Date({1}today()-1)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(2) Then I select the value that the above search string shows&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lwp89_1-1660155031458.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/86455iD0CFD816CBB0C941/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lwp89_1-1660155031458.png" alt="lwp89_1-1660155031458.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(3) Then I created the bookmark. &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;But the bookmark is showing static value. So the next day it filters the same static date instead of dynamically filtering to the previous day&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lwp89_0-1660154946511.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/86454iB7C0A10F6D8C9AB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lwp89_0-1660154946511.png" alt="lwp89_0-1660154946511.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are on Qlik SaaS Enterprise.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 18:14:10 GMT</pubDate>
    <dc:creator>lwp89</dc:creator>
    <dc:date>2022-08-10T18:14:10Z</dc:date>
    <item>
      <title>Dynamic bookmark in SaaS not working as expected</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1894274#M73764</link>
      <description>&lt;P&gt;Hi People,&lt;/P&gt;
&lt;P&gt;I'm trying to define a dynamic bookmark, so the last and previous years would be selected:&lt;/P&gt;
&lt;P&gt;{&amp;lt;Year={"=Year &amp;gt;= $(=Max({1}Year)-1)"}&amp;gt;}&amp;nbsp; (2022,2021)&lt;/P&gt;
&lt;P&gt;If I select a year (2019), and select the bookmark, the selection is cleared, and the bookmark is not applied.&lt;/P&gt;
&lt;P&gt;Only on the second try, when everything is cleared.&lt;/P&gt;
&lt;P&gt;Can someone help with this?&lt;/P&gt;
&lt;P&gt;Thanks in advance!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 12:17:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1894274#M73764</guid>
      <dc:creator>DanaL</dc:creator>
      <dc:date>2022-02-17T12:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic bookmark in SaaS not working as expected</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1894312#M73771</link>
      <description>&lt;P&gt;Yes, the first reference to "Year" within your search string will only match POSSIBLE values. So, instead of&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&amp;lt;Year={"=Year &amp;gt;= $(=Max({1}Year)-1)"}&amp;gt;}&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;you should try&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;{&amp;lt;Year={"=Only({1} Year) &amp;gt;= $(=Max({1}Year)-1)"}&amp;gt;}&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 13:31:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1894312#M73771</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-02-17T13:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic bookmark in SaaS not working as expected</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1894378#M73780</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6622"&gt;@hic&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The thing is that I can't update the bookmark expression.&lt;/P&gt;
&lt;P&gt;I have to create first the search string in the Year filter:&lt;/P&gt;
&lt;P&gt;=Year &amp;gt;= $(=Max({1}Year)-1)&lt;/P&gt;
&lt;P&gt;How do I create the search string with the modification you suggest?&lt;/P&gt;
&lt;P&gt;I would also appreciate a reference to an explanation why the addition of the Only function is needed..&lt;/P&gt;
&lt;P&gt;Another words: why is the {1} in the Max function is not enough..&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 15:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1894378#M73780</guid>
      <dc:creator>DanaL</dc:creator>
      <dc:date>2022-02-17T15:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic bookmark in SaaS not working as expected</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1894413#M73783</link>
      <description>&lt;P&gt;If you use the following as search string&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;=Only({1} Year) &amp;gt;= $(=Max({1}Year)-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and then save the selection as a bookmark (create a bookmark) you will get it into a bookmark.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The expression search is described in the help, see&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2021/Subsystems/Hub/Content/Sense_Hub/Selections/SelectionsToolbar/search-selections.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/November2021/Subsystems/Hub/Content/Sense_Hub/Selections/SelectionsToolbar/search-selections.htm&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-modifiers-advanced-searches.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense/November2021/Subsystems/Hub/Content/Sense_Hub/ChartFunctions/SetAnalysis/set-modifiers-advanced-searches.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The second link clearly states that the result is based on current selection. This means that the reference to "Year" returns NULL for excluded values, since it respects the current selection. But if you instead use Only({1}Year), it will get a value also for the excluded Years.&lt;/P&gt;&lt;P&gt;See also&lt;BR /&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/The-Expression-Search/ba-p/1463907" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/The-Expression-Search/ba-p/1463907&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 16:01:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1894413#M73783</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2022-02-17T16:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic bookmark in SaaS not working as expected</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1894430#M73786</link>
      <description>&lt;P&gt;Amazing!&lt;/P&gt;
&lt;P&gt;Thank you very much for the very helpful solution and references!&lt;/P&gt;</description>
      <pubDate>Thu, 17 Feb 2022 16:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1894430#M73786</guid>
      <dc:creator>DanaL</dc:creator>
      <dc:date>2022-02-17T16:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic bookmark in SaaS not working as expected</title>
      <link>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1967290#M79733</link>
      <description>&lt;P&gt;Thanks for the detailed explanation&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6622"&gt;@hic&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have similar issues. I have a date field&amp;nbsp;&lt;STRONG&gt;[Release Date.autoCalendar.Date]&amp;nbsp;&lt;/STRONG&gt;and I want a bookmark that will always select yesterday's date on this field.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(1) I typed following search string in this date filter&lt;/STRONG&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;=Only({1} [Release Date.autoCalendar.Date]) =Date({1}today()-1)&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(2) Then I select the value that the above search string shows&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lwp89_1-1660155031458.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/86455iD0CFD816CBB0C941/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lwp89_1-1660155031458.png" alt="lwp89_1-1660155031458.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(3) Then I created the bookmark. &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;But the bookmark is showing static value. So the next day it filters the same static date instead of dynamically filtering to the previous day&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lwp89_0-1660154946511.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/86454iB7C0A10F6D8C9AB5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lwp89_0-1660154946511.png" alt="lwp89_0-1660154946511.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are on Qlik SaaS Enterprise.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 18:14:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Dynamic-bookmark-in-SaaS-not-working-as-expected/m-p/1967290#M79733</guid>
      <dc:creator>lwp89</dc:creator>
      <dc:date>2022-08-10T18:14:10Z</dc:date>
    </item>
  </channel>
</rss>

