<?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 How to set Field values dynamically in Default Bookmark. Whenever value will be avilable in Reports, it will set to Default Bookmark in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/How-to-set-Field-values-dynamically-in-Default-Bookmark-Whenever/m-p/2145478#M93213</link>
    <description>&lt;P&gt;Our rquirement is to use default dynamic bookmark values like A,B,C,D for [XYZ ColumnName]. Out of four values( A, B, C, D) whenever A will available Default filter should be A. If A is not available then it should display B. If A, B not available then it will be C and If A,B,C not avilable it will be D.&lt;/P&gt;
&lt;P&gt;CASE WHEN Year = year(current_date) and [XYZ ColumnName] = 'A' then 'A'&lt;BR /&gt;WHEN Year = year(current_date) and [XYZ ColumnName]= 'B' then 'B'&lt;BR /&gt;WHEN Year = year(current_date) and [XYZ ColumnName]= 'C' then 'C'&lt;BR /&gt;ELSE 'D' &lt;BR /&gt;END&lt;/P&gt;
&lt;P&gt;I have written below expression in search option of the [XYZ columnName] but it is not working&lt;/P&gt;
&lt;P&gt;=[XYZ columnName]=(if([Year]=$(=(Year(Today()))) and match([XYZcolumnName],'A','B','C','D')&amp;gt;0,'A',&lt;BR /&gt;if([Year]=$(=(Year(Today()))) and match([XYZ columnName],'B','C','D')&amp;gt;0,'B',&lt;BR /&gt;if([Year]=$(=(Year(Today()))) and match([XYZ columnName],'C','D')&amp;gt;0,'C',&lt;BR /&gt;if([Year]=$(=(Year(Today()))) and match([XYZ columnName],'D')&amp;gt;0,'D')))))&lt;/P&gt;
&lt;P&gt;Do I need to use loop. if yes then how can I define loop in default dynamic bookmark&lt;/P&gt;</description>
    <pubDate>Thu, 07 Dec 2023 20:14:52 GMT</pubDate>
    <dc:creator>Nandita27</dc:creator>
    <dc:date>2023-12-07T20:14:52Z</dc:date>
    <item>
      <title>How to set Field values dynamically in Default Bookmark. Whenever value will be avilable in Reports, it will set to Default Bookmark</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-set-Field-values-dynamically-in-Default-Bookmark-Whenever/m-p/2145478#M93213</link>
      <description>&lt;P&gt;Our rquirement is to use default dynamic bookmark values like A,B,C,D for [XYZ ColumnName]. Out of four values( A, B, C, D) whenever A will available Default filter should be A. If A is not available then it should display B. If A, B not available then it will be C and If A,B,C not avilable it will be D.&lt;/P&gt;
&lt;P&gt;CASE WHEN Year = year(current_date) and [XYZ ColumnName] = 'A' then 'A'&lt;BR /&gt;WHEN Year = year(current_date) and [XYZ ColumnName]= 'B' then 'B'&lt;BR /&gt;WHEN Year = year(current_date) and [XYZ ColumnName]= 'C' then 'C'&lt;BR /&gt;ELSE 'D' &lt;BR /&gt;END&lt;/P&gt;
&lt;P&gt;I have written below expression in search option of the [XYZ columnName] but it is not working&lt;/P&gt;
&lt;P&gt;=[XYZ columnName]=(if([Year]=$(=(Year(Today()))) and match([XYZcolumnName],'A','B','C','D')&amp;gt;0,'A',&lt;BR /&gt;if([Year]=$(=(Year(Today()))) and match([XYZ columnName],'B','C','D')&amp;gt;0,'B',&lt;BR /&gt;if([Year]=$(=(Year(Today()))) and match([XYZ columnName],'C','D')&amp;gt;0,'C',&lt;BR /&gt;if([Year]=$(=(Year(Today()))) and match([XYZ columnName],'D')&amp;gt;0,'D')))))&lt;/P&gt;
&lt;P&gt;Do I need to use loop. if yes then how can I define loop in default dynamic bookmark&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 20:14:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-set-Field-values-dynamically-in-Default-Bookmark-Whenever/m-p/2145478#M93213</guid>
      <dc:creator>Nandita27</dc:creator>
      <dc:date>2023-12-07T20:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to set Field values dynamically in Default Bookmark. Whenever value will be avilable in Reports, it will set to Default Bookmark</title>
      <link>https://community.qlik.com/t5/App-Development/How-to-set-Field-values-dynamically-in-Default-Bookmark-Whenever/m-p/2145642#M93217</link>
      <description>&lt;P&gt;You may try something like this:&lt;/P&gt;
&lt;P&gt;pick(rangemax(&lt;BR /&gt;&amp;nbsp; &amp;nbsp; sign(count({&amp;lt;&amp;nbsp;&lt;SPAN&gt;[Year]={$(=(Year(Today()))},&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;[XYZcolumnName] = {'A'} &amp;gt;} distinct&amp;nbsp;[XYZcolumnName])) * 4,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;sign(count({&amp;lt;&amp;nbsp;[Year]={$(=(Year(Today()))},&amp;nbsp;[XYZcolumnName] = {'B'} &amp;gt;} distinct&amp;nbsp;[XYZcolumnName])) * 3,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;sign(count({&amp;lt;&amp;nbsp;[Year]={$(=(Year(Today()))},&amp;nbsp;[XYZcolumnName] = {'C'} &amp;gt;} distinct&amp;nbsp;[XYZcolumnName])) * 2,&lt;BR /&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;sign(count({&amp;lt;&amp;nbsp;[Year]={$(=(Year(Today()))},&amp;nbsp;[XYZcolumnName] = {'D'} &amp;gt;} distinct&amp;nbsp;[XYZcolumnName])) * 1),&lt;BR /&gt;'A', 'B', 'C', 'D')&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 08:29:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/How-to-set-Field-values-dynamically-in-Default-Bookmark-Whenever/m-p/2145642#M93217</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2023-12-08T08:29:59Z</dc:date>
    </item>
  </channel>
</rss>

