<?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 Stuck - Can't form proper set expression for date range via input box in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Stuck-Can-t-form-proper-set-expression-for-date-range-via-input/m-p/1455039#M35767</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot figure out the proper syntax to get the proper set of records between a date range using two variables and input boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created vStartDate and vEndDate variables and capture them via two input boxes and then use date#&amp;nbsp; to convert to dates but -cannot not get it to work... any helpwould be greatly appreciated. -Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;ReceivedDate = {"&amp;gt;= date#('$(vStartDate)','MM/DD/YYYY') &amp;lt;= date#('$(vEndtDate)','MM/DD/YYYY') "}&amp;gt;} TrackingNumber)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Dec 2017 23:20:19 GMT</pubDate>
    <dc:creator>mrbustin</dc:creator>
    <dc:date>2017-12-26T23:20:19Z</dc:date>
    <item>
      <title>Stuck - Can't form proper set expression for date range via input box</title>
      <link>https://community.qlik.com/t5/App-Development/Stuck-Can-t-form-proper-set-expression-for-date-range-via-input/m-p/1455039#M35767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I cannot figure out the proper syntax to get the proper set of records between a date range using two variables and input boxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created vStartDate and vEndDate variables and capture them via two input boxes and then use date#&amp;nbsp; to convert to dates but -cannot not get it to work... any helpwould be greatly appreciated. -Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;ReceivedDate = {"&amp;gt;= date#('$(vStartDate)','MM/DD/YYYY') &amp;lt;= date#('$(vEndtDate)','MM/DD/YYYY') "}&amp;gt;} TrackingNumber)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Dec 2017 23:20:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Stuck-Can-t-form-proper-set-expression-for-date-range-via-input/m-p/1455039#M35767</guid>
      <dc:creator>mrbustin</dc:creator>
      <dc:date>2017-12-26T23:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck - Can't form proper set expression for date range via input box</title>
      <link>https://community.qlik.com/t5/App-Development/Stuck-Can-t-form-proper-set-expression-for-date-range-via-input/m-p/1455040#M35768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;PRE __default_attr="sql" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_1514339440410826 jive_text_macro" jivemacro_uid="_1514339440410826"&gt;
&lt;P&gt;count({$&amp;lt;ReceivedDate = {"&amp;gt;=$(= date#($(vStartDate),'MM/DD/YYYY'))&lt;/P&gt;
&lt;P&gt;&amp;lt;=$(=date#($(vEndtDate),'MM/DD/YYYY')) "}&amp;gt;} TrackingNumber)&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;An Pham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 01:50:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Stuck-Can-t-form-proper-set-expression-for-date-range-via-input/m-p/1455040#M35768</guid>
      <dc:creator>kenphamvn</dc:creator>
      <dc:date>2017-12-27T01:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: Stuck - Can't form proper set expression for date range via input box</title>
      <link>https://community.qlik.com/t5/App-Development/Stuck-Can-t-form-proper-set-expression-for-date-range-via-input/m-p/1455041#M35769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you An!&lt;/P&gt;&lt;P&gt;I got it to work after making one tweak to your formula, I had to enclose the $expansion of each variable in single quotes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;count({$&amp;lt;FOIAType={'Request'},Status={'Closed'},DateReceived = {"&amp;gt;=$(= date#('$(vStartDate)','MM/DD/YYYY'))&amp;lt;=$(=date#('$(vEndDate)','MM/DD/YYYY'))"}&amp;gt;} TrackingNum)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again An - I was banging my head against the wall &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;-Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 12:23:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Stuck-Can-t-form-proper-set-expression-for-date-range-via-input/m-p/1455041#M35769</guid>
      <dc:creator>mrbustin</dc:creator>
      <dc:date>2017-12-27T12:23:04Z</dc:date>
    </item>
  </channel>
</rss>

