<?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: Checkbox functionality with a table box and date comparision in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Checkbox-functionality-with-a-table-box-and-date-comparision/m-p/672113#M244112</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can add this logic to your search string in the select in field action:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( GetSelectedCount( YourFieldInListBox ) = 1 , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'&amp;gt;=' &amp;amp; vStartDate &amp;amp; '&amp;lt;=' vEndDate )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Jun 2014 13:22:12 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-06-29T13:22:12Z</dc:date>
    <item>
      <title>Checkbox functionality with a table box and date comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Checkbox-functionality-with-a-table-box-and-date-comparision/m-p/672110#M244109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help with my requirement here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I've a Start Date and End Date fields which are defaulted to the current date. User can change these dates as below.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="61381" alt="ScreenHunter_118 Jun. 27 17.45.jpg" class="jive-image" src="/legacyfs/online/61381_ScreenHunter_118 Jun. 27 17.45.jpg" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. I've a table box with information , for example, Student Information&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="61380" alt="ScreenHunter_118 Jun. 27 17.42.jpg" class="jive-image" src="/legacyfs/online/61380_ScreenHunter_118 Jun. 27 17.42.jpg" style="width: 620px; height: 105px;" /&gt;&lt;/P&gt;&lt;P&gt;3. I've a checkbox &lt;IMG __jive_id="61376" alt="ScreenHunter_118 Jun. 27 17.35.jpg" class="jive-image" src="/legacyfs/online/61376_ScreenHunter_118 Jun. 27 17.35.jpg" /&gt; to include/exclude DOB in the search with the dates given above. Checkbox is a listbox with one value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is: if the checkbox is checked, then table box should include Date of Birth as a filter, otherwise it should display all the students information i.e. table box should display as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="61378" alt="ScreenHunter_118 Jun. 27 17.40.jpg" class="jive-image" src="/legacyfs/online/61378_ScreenHunter_118 Jun. 27 17.40.jpg" style="width: 620px; height: 65px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I uncheck the checkbox, the table box should display all the data as below&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="61379" alt="ScreenHunter_118 Jun. 27 17.42.jpg" class="jive-image" src="/legacyfs/online/61379_ScreenHunter_118 Jun. 27 17.42.jpg" style="width: 620px; height: 105px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate help !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Jun 2014 21:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checkbox-functionality-with-a-table-box-and-date-comparision/m-p/672110#M244109</guid>
      <dc:creator />
      <dc:date>2014-06-27T21:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox functionality with a table box and date comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Checkbox-functionality-with-a-table-box-and-date-comparision/m-p/672111#M244110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A table box won't allow you to set expressions or calculated dimensions to filter your data, so if you need to stick with the table box (instead of using a table chart), you can try to use a trigger on the selection of your field you are using in the check box style list box (set the trigger in Settings - Document Properties - Triggers - Field Event Trigger), then create a Select - Select in Field action on your field DOB with a search expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;='&amp;gt;=' &amp;amp; vStartDate &amp;amp; '&amp;lt;=' vEndDate&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Jun 2014 08:43:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checkbox-functionality-with-a-table-box-and-date-comparision/m-p/672111#M244110</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-06-28T08:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox functionality with a table box and date comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Checkbox-functionality-with-a-table-box-and-date-comparision/m-p/672112#M244111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Swuehi.. it worked. However, when I uncheck the checkbox, I've set those variables to blank i.e. I've to remove the date filters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;set the trigger in Settings - Document Properties - Triggers - Field Event Trigger - doesn't have any options to recognize whether use is checking or unchecking.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #f6f6f6;"&gt;Thanks in advance !!&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jun 2014 13:09:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checkbox-functionality-with-a-table-box-and-date-comparision/m-p/672112#M244111</guid>
      <dc:creator />
      <dc:date>2014-06-29T13:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox functionality with a table box and date comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Checkbox-functionality-with-a-table-box-and-date-comparision/m-p/672113#M244112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you can add this logic to your search string in the select in field action:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=if( GetSelectedCount( YourFieldInListBox ) = 1 , &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;'&amp;gt;=' &amp;amp; vStartDate &amp;amp; '&amp;lt;=' vEndDate )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Jun 2014 13:22:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checkbox-functionality-with-a-table-box-and-date-comparision/m-p/672113#M244112</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-06-29T13:22:12Z</dc:date>
    </item>
    <item>
      <title>Re: Checkbox functionality with a table box and date comparision</title>
      <link>https://community.qlik.com/t5/QlikView/Checkbox-functionality-with-a-table-box-and-date-comparision/m-p/672114#M244113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This worked.. Thanks so much Swuehl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jun 2014 19:07:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Checkbox-functionality-with-a-table-box-and-date-comparision/m-p/672114#M244113</guid>
      <dc:creator />
      <dc:date>2014-06-30T19:07:11Z</dc:date>
    </item>
  </channel>
</rss>

