<?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: Help with Set Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717208#M1070490</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd venture to say that it's because your StatusMonth and vCurrent13Month are being interpreted as a literal string and not a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set modifier (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;StatusMonth={"&amp;gt;=$(vCurrent13Month)"}&amp;gt;) can not find greater than or equal to a text string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look in to using MakeDate or Date# or Dual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To optimize this calculation&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; I'd use a flag in your load script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 as UnitNameFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and your expression would be similar to: =sum({&amp;lt;StatusMonth={"&amp;gt;=$(vCurrent13Month)"}&amp;gt;}UnitNameFlag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you'd like to upload your qvw I can take a look at it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2014 19:44:02 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-08-20T19:44:02Z</dc:date>
    <item>
      <title>Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717205#M1070485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a field called StatusMonth.&amp;nbsp; Values are strings of the form 'YYYY-MM mmm' (e.g. '2014-01 Jan').&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have a variable that I set called vCurrent13Month and it also is a string of the form 'YYYY-MM mmm'.&lt;/P&gt;&lt;P&gt;I want to count the number of units where the StatusMonth is greater than or equal to vCurrent13Month but&lt;BR /&gt;am having difficulty with the Set expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's what I've got:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =Count({1 &amp;lt;StatusMonth={"&amp;gt;=$(vCurrent13Month)"}&amp;gt; DISTINCT UnitName}&lt;/P&gt;&lt;P&gt;And it's just not working.&amp;nbsp; I've tried all kinds of variations and no luck.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me why the above doesn't work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;rpb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717205#M1070485</guid>
      <dc:creator />
      <dc:date>2014-08-20T19:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717206#M1070488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DOH!&amp;nbsp; I've been staring at this for over an hour and finally see it.&amp;nbsp; I really need to get some better glasses.&amp;nbsp; I ended the Count() function using a squiggly bracket instead of a paren.&amp;nbsp; So it now looks like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Count&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;({1 &amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;StatusMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(vCurrent13Month)"&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;}&amp;gt;}&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;DISTINCT&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;UnitName&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;But still does not seem to be returning the right answer&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:39:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717206#M1070488</guid>
      <dc:creator />
      <dc:date>2014-08-20T19:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717207#M1070489</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;Try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Count({1&amp;lt;StatusMonth={"&amp;gt;='$(vCurrent13Month)'"}&amp;gt;} DISTINCT UnitName) // LOOK --&amp;gt;'$(vCurrent13Month)' to read values as text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:43:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717207#M1070489</guid>
      <dc:creator />
      <dc:date>2014-08-20T19:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717208#M1070490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd venture to say that it's because your StatusMonth and vCurrent13Month are being interpreted as a literal string and not a number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set modifier (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;StatusMonth={"&amp;gt;=$(vCurrent13Month)"}&amp;gt;) can not find greater than or equal to a text string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Look in to using MakeDate or Date# or Dual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To optimize this calculation&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; I'd use a flag in your load script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1 as UnitNameFlag&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and your expression would be similar to: =sum({&amp;lt;StatusMonth={"&amp;gt;=$(vCurrent13Month)"}&amp;gt;}UnitNameFlag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you'd like to upload your qvw I can take a look at it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:44:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717208#M1070490</guid>
      <dc:creator />
      <dc:date>2014-08-20T19:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717209#M1070491</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I'd venture to say that it's because your StatusMonth and vCurrent13Month are&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; being interpreted as a literal string and not a number&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is exactly what I expected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; The set modifier (&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;lt;StatusMonth={"&amp;gt;=$(vCurrent13Month)"}&amp;gt;) can not find &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; greater than or equal to a text string.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which surprises me.&amp;nbsp; Are you saying there is no way to compare if one string is "greater than" another?&lt;/P&gt;&lt;P&gt;I would expect that "2013-08 Aug" is Less Than "2014-07 Jul". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that what's wrong here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:54:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717209#M1070491</guid>
      <dc:creator />
      <dc:date>2014-08-20T19:54:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717210#M1070492</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oswaldo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tried adding the quotes.&amp;nbsp; No change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Appreciate it, though!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rpb&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 19:55:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717210#M1070492</guid>
      <dc:creator />
      <dc:date>2014-08-20T19:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717211#M1070493</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would change the field to be in a date format in script, not text, use something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date#(DATEFIELD, 'YYYY-DD MMM') as NEWDATEFIELD&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 20:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717211#M1070493</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-08-20T20:18:44Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717212#M1070494</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 20:26:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717212#M1070494</guid>
      <dc:creator />
      <dc:date>2014-08-20T20:26:44Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717213#M1070495</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Alex.&amp;nbsp; Will go that route.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 20:31:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717213#M1070495</guid>
      <dc:creator />
      <dc:date>2014-08-20T20:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717214#M1070496</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In your load statement, I would try something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Set the vCurrent13Month variable to a date variable:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;SET vCurrent13Month = "Date#('2014-01 Jan', 'YYYY-DD MMM')";&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) When loading the StatusMonth field, convert it to a date value:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;LOAD &lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;Date#(StatusMonth, 'YYYY-DD MMM') as StatusMonth&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 20:47:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717214#M1070496</guid>
      <dc:creator />
      <dc:date>2014-08-20T20:47:58Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717215#M1070497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alex,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying to implement this in script and keep getting "Syntax error, missing/misplaced FROM: LOAD"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am confused.&amp;nbsp; Here is my script:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;CONNECT32&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;TO&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[MS Access Databases;DBQ=C:\Users\DickByrne\Documents\ITO Customer Service\BU Metrics\Dashboard\GSS Insight\KPI Dashboard\Global KPI Data.accdb]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//-------- Start Multiple Select Statements ------&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;LOAD&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;StatusMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MakeDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;StatusMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 4), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;StatusMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 6, 2)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;Period&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PriorMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MakeDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PriorMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 4), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PriorMonth&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 6, 2)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PriorPeriod&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;CurrentYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PriorYear&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RollAvgStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MakeDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RollAvgStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 4), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RollAvgStart&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 6, 2)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RollAvgStartPeriod&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RollAvgEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MakeDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RollAvgEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 4), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RollAvgEnd&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 6, 2)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;RollAvgEndPeriod&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[13MonthStart]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;,&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;MakeDate&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Left&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[13MonthStart]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 4), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Mid&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[13MonthStart]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, 6, 2)) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;As&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;13&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;MonthStartPeriod;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT *&lt;BR /&gt;FROM StatusMonths;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT *&lt;BR /&gt;FROM Units;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT *&lt;BR /&gt;FROM `KPI_Data`;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style=": ; color: #0000ff; font-size: 8pt;"&gt;SQL&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; SELECT *&lt;BR /&gt;FROM `Sev1_Data`;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; font-size: 8pt;"&gt;//-------- End Multiple Select Statements ------&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717215#M1070497</guid>
      <dc:creator />
      <dc:date>2014-08-21T13:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717216#M1070498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Putting brackets around your 13MonthStartPeriod should take care of it; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[13MonthStartPeriod]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The error "&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Syntax error, missing/misplaced FROM: LOAD" typically means you're missing a comma, semicolon or an error that relates to what you've received (sometimes it's from a space in the field name too). In this instance it's the leading integer.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:32:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717216#M1070498</guid>
      <dc:creator />
      <dc:date>2014-08-21T13:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Set Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717217#M1070499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks, Alex!  That did it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Set-Expression/m-p/717217#M1070499</guid>
      <dc:creator />
      <dc:date>2014-08-21T13:55:30Z</dc:date>
    </item>
  </channel>
</rss>

