<?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 Date range in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Date-range-in-expression/m-p/321276#M1197145</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; What would be the syntax if I wanted only 1 date :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum ({$&amp;lt;[Effective Date]={"Today()"},[Tran Code]={"35"}&amp;gt;}[Trans Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;S&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2011 11:43:37 GMT</pubDate>
    <dc:creator>sudipguha</dc:creator>
    <dc:date>2011-08-18T11:43:37Z</dc:date>
    <item>
      <title>Date range in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-expression/m-p/321274#M1197143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am uploading daily files with one of the fields being "Effective Date".&lt;/P&gt;&lt;P&gt;At the moment I have expressions like these:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum ({$&amp;lt;[Effective Date]={"2011/04/10","2011/04/09","2011/04/08"},[Tran Code]={"35"}&amp;gt;}[Trans Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Can someone help me to put a "date-range" instead of the &lt;STRONG&gt;{"2011/04/10","2011/04/09","2011/04/08"},&lt;/STRONG&gt; so in this example it would be all dates from the 8th of April to the 10th of April.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 16:19:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-expression/m-p/321274#M1197143</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2011-04-13T16:19:32Z</dc:date>
    </item>
    <item>
      <title>Date range in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-expression/m-p/321275#M1197144</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;something like this:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum ({$&amp;lt;[Effective Date]={"&amp;lt;=2011/04/10&amp;gt;=2011/04/08"},[Tran Code]={"35"}&amp;gt;}[Trans Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;or, more parameter-driven:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum ({$&amp;lt;[Effective Date]={"&amp;lt;=$(varFromDate)&amp;gt;=$(varToDate)"},[Tran Code]={"35"}&amp;gt;}[Trans Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;where both variables are assigned the formatted date&lt;/STRONG&gt; strings&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Side comment: I think you misunderstand the role of double quotes in SeT Analysis. Double quotes need to be used to signify search in a field, not individual values. So, if your [Tran Code] is numeric, no quotes are necessary, if it's a string, then single quotes are needed. You'd use double quotes if you wanted to search, for example, using a wildcard "35*"&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Apr 2011 16:34:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-expression/m-p/321275#M1197144</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-04-13T16:34:31Z</dc:date>
    </item>
    <item>
      <title>Date range in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-expression/m-p/321276#M1197145</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; What would be the syntax if I wanted only 1 date :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum ({$&amp;lt;[Effective Date]={"Today()"},[Tran Code]={"35"}&amp;gt;}[Trans Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;S&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 11:43:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-expression/m-p/321276#M1197145</guid>
      <dc:creator>sudipguha</dc:creator>
      <dc:date>2011-08-18T11:43:37Z</dc:date>
    </item>
    <item>
      <title>Date range in expression</title>
      <link>https://community.qlik.com/t5/QlikView/Date-range-in-expression/m-p/321277#M1197146</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't need double quotes (it's not a search if you only need a single value), but you need a $() to get the value of today():&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sum ({$&amp;lt;[Effective Date]={$(=Today())},[Tran Code]={35}&amp;gt;}[Trans Amount])&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Aug 2011 16:21:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Date-range-in-expression/m-p/321277#M1197146</guid>
      <dc:creator>Oleg_Troyansky</dc:creator>
      <dc:date>2011-08-19T16:21:33Z</dc:date>
    </item>
  </channel>
</rss>

