<?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: Error in date range variable in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Error-in-date-range-variable/m-p/40912#M2748</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the variable like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;='&amp;gt;' &amp;amp; &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Date(Today()-7) &amp;amp; '&amp;lt;=' &amp;amp; Date(Today())&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2018 16:50:45 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-05-02T16:50:45Z</dc:date>
    <item>
      <title>Error in date range variable</title>
      <link>https://community.qlik.com/t5/App-Development/Error-in-date-range-variable/m-p/40911#M2747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have $TrendDate named variable, which im trying to use to filter a chart by date. Heres an example to what value I set the variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&amp;gt;Date(Today()-7)&amp;lt;=Date(Today()) - which would mean select a weeks date range right? How ever, I get an expression error stating&lt;/P&gt;&lt;P&gt;"Garbage after expression 'Date'" here. What kind of syntax should I use here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how I use the variable in the chart expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Avg({$&amp;lt;Date={'$(TrendDate)'}&amp;gt;}[#Value])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// Tuomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 08:21:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-in-date-range-variable/m-p/40911#M2747</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-02T08:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error in date range variable</title>
      <link>https://community.qlik.com/t5/App-Development/Error-in-date-range-variable/m-p/40912#M2748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the variable like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;='&amp;gt;' &amp;amp; &lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;STRONG&gt;Date(Today()-7) &amp;amp; '&amp;lt;=' &amp;amp; Date(Today())&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2018 16:50:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Error-in-date-range-variable/m-p/40912#M2748</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-05-02T16:50:45Z</dc:date>
    </item>
  </channel>
</rss>

