<?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: variable error in expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402523#M1159658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried all 3 above suggestions with no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like the idea of not using the variable, and rather using max() in my set analysis - but please help me with the syntax. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;EM&gt;&lt;STRONG&gt;=count({&amp;lt;[Decision Date] = {"=$(=Date(Max(&lt;EM&gt;&lt;STRONG&gt;[Decision Date]&lt;/STRONG&gt;&lt;/EM&gt;)))"}&amp;gt;} [Decision Result])&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns a count of all apps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jan 2013 13:32:25 GMT</pubDate>
    <dc:creator>gerhardl</dc:creator>
    <dc:date>2013-01-08T13:32:25Z</dc:date>
    <item>
      <title>variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402509#M1159641</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;Please help me figure out what is wrong with my variable in this expression. It just returns null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;=count({&amp;lt;[Decision Date]={$(vYesterdayApp)}&amp;gt;}[Decision Result])&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is my variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;vYesterdayApp = max([Decision Date])&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I create a text obect with just the variable value I get 2013/01/07, which is correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 08:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402509#M1159641</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2013-01-08T08:37:23Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402510#M1159642</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;[Decision Date]={"$(vYesterdayApp)"}&amp;gt;}[Decision Result])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 08:39:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402510#M1159642</guid>
      <dc:creator>khadeer</dc:creator>
      <dc:date>2013-01-08T08:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402511#M1159643</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;Tried that - it returns 0&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 08:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402511#M1159643</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2013-01-08T08:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402512#M1159644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope there is no problem , what u written in set analysis,.... check ur dates, both have same formats r nt.if its r correct format&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By pass ur year fields n month fields&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;[Decision Date]={"$(vYesterdayApp)"},Year=,Month=&amp;gt;}[Decision Result])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 08:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402512#M1159644</guid>
      <dc:creator>khadeer</dc:creator>
      <dc:date>2013-01-08T08:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402513#M1159645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Which "both" are you referring to? There is only one date used in this expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I do a text object I get &lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;2013/01/07&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I put that in my expression I get the correct answer:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=count({&amp;lt;[Decision Date]={'&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;2013/01/07'&lt;/SPAN&gt;}&amp;gt;}[Decision Result])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 08:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402513#M1159645</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2013-01-08T08:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402514#M1159646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;[Decision Date]={ "$(=vYesterdayApp)" }&amp;gt;}[Decision Result])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 12:06:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402514#M1159646</guid>
      <dc:creator>adamwilson</dc:creator>
      <dc:date>2013-01-08T12:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402515#M1159647</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 did try that, also doesn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The moment the variable is between quotes QV doesn't see it as a variable.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 12:09:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402515#M1159647</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2013-01-08T12:09:05Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402516#M1159649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this might work this time:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;[Decision Date]={ "= $(=vYesterdayApp)" }&amp;gt;}[Decision Result])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 12:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402516#M1159649</guid>
      <dc:creator>adamwilson</dc:creator>
      <dc:date>2013-01-08T12:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402517#M1159651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Afraid not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That gives me the same answer as &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;=count({&amp;lt;[Decision Date]={*}&amp;gt;}[Decision Result])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;or just&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;count([Decision Result])&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 12:22:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402517#M1159651</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2013-01-08T12:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402518#M1159653</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;The set expression uses the text form of dates. Max(....) returns a number rather than a date. So this might work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG&gt;=count({&amp;lt;[Decision Date] = {"=$(=Date(vYesterdayApp))"}&amp;gt;} [Decision Result])&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This assumes Decision Date is in the default date format (in Set DateFormat = ....).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 12:32:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402518#M1159653</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-01-08T12:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402519#M1159654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try this&lt;/P&gt;&lt;P&gt;count({$&amp;lt;[Decision Date]={$(#=only(vYesterdayApp))}&amp;gt;}[Decision Result])&lt;/P&gt;&lt;P&gt;hope it helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 12:33:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402519#M1159654</guid>
      <dc:creator>er_mohit</dc:creator>
      <dc:date>2013-01-08T12:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402520#M1159655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could ditch the vYesterdayApp variable with:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG&gt;=count({&amp;lt;[Decision Date] = {"=$(=Date(Max(&lt;EM style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;STRONG&gt;[Decision Date]&lt;/STRONG&gt;&lt;/EM&gt;)))"}&amp;gt;} [Decision Result])&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 12:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402520#M1159655</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-01-08T12:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402521#M1159656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;your variable is the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;vYesterdayApp = max([Decision Date])&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when evaluating the expression it is getting the max for each row, &lt;EM&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 12:36:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402521#M1159656</guid>
      <dc:creator>adamwilson</dc:creator>
      <dc:date>2013-01-08T12:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402522#M1159657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Hi:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Have you tried groupping?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;vYesterdayApp = aggr(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; max([Decision Date])&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; , [Decision Result])&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;It should give you the max for each [Decision Result].&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 13:28:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402522#M1159657</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2013-01-08T13:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402523#M1159658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tried all 3 above suggestions with no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I like the idea of not using the variable, and rather using max() in my set analysis - but please help me with the syntax. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;&lt;EM&gt;&lt;STRONG&gt;=count({&amp;lt;[Decision Date] = {"=$(=Date(Max(&lt;EM&gt;&lt;STRONG&gt;[Decision Date]&lt;/STRONG&gt;&lt;/EM&gt;)))"}&amp;gt;} [Decision Result])&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;returns a count of all apps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 13:32:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402523#M1159658</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2013-01-08T13:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402524#M1159659</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;Do you mean I should change my Variable?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The variable already gives me the correct answer (Yesterday's date). The problem is that the variable does not work in my expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 13:33:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402524#M1159659</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2013-01-08T13:33:34Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402525#M1159660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Then, create the variable in the variable panel and use it between simple quotes in your set, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Field = {'$(Variable)'}&lt;/P&gt;&lt;P&gt;that always works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 13:40:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402525#M1159660</guid>
      <dc:creator>christian77</dc:creator>
      <dc:date>2013-01-08T13:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402526#M1159661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If by Variable Panel you mean in Variable Overview, then, as mentioned above - this is not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use variables like this often - something here is just wrong. Guessing because of the date format&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 13:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402526#M1159661</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2013-01-08T13:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402527#M1159662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay I gave up and did something different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my load script I created a new field which counts the number of days since [Decision Date], from today.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I use this in my Expression (i.e. where Days Since Decision is 1).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 13:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402527#M1159662</guid>
      <dc:creator>gerhardl</dc:creator>
      <dc:date>2013-01-08T13:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: variable error in expression</title>
      <link>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402528#M1159663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;date(Max([Decision Date])) as YesterdayApp&lt;/P&gt;&lt;P&gt;RESIDENT&amp;nbsp; TableName;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LET vYesterdayApp = date(peek('YesterdayApp',-1,'Temp'));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Table Temp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=count({&amp;lt;[Decision Date]={ "$(=vYesterdayApp)" }&amp;gt;}[Decision Result])&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2013 13:46:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/variable-error-in-expression/m-p/402528#M1159663</guid>
      <dc:creator>adamwilson</dc:creator>
      <dc:date>2013-01-08T13:46:52Z</dc:date>
    </item>
  </channel>
</rss>

