<?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 Negative Values In Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Negative-Values-In-Set-Analysis/m-p/220441#M73353</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it - thanks as always Vlad!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Apr 2011 18:38:19 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-18T18:38:19Z</dc:date>
    <item>
      <title>Negative Values In Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Negative-Values-In-Set-Analysis/m-p/220439#M73351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way that negative numbers need to be expressed in Set Analysis? I have the following statement that works without issue. Date Diff is a field that determines how many weeks there are between the current week and the week that either (A) actual hours were logged or, (B) week that the hours are forecast to be logged. So, the number will positive for Actual Hours, and negative for Forecast Hours.&lt;/P&gt;&lt;P&gt;This works fine in figuring actual hours for the last four weeks (including the current week):&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SUM( {$&amp;lt;[Week Ending Dt]=, [Date Diff] = {0,7,14,21} &amp;gt;} [Act Hours] )&lt;/P&gt;&lt;P&gt;This statement fails as soon as I put in the negative number indicator for four weeks in the future ('error in set modifier ad hoc element list'):&lt;/P&gt;&lt;P style="font-weight: bold"&gt;SUM( {$&amp;lt;[Week Ending Dt]=, [Date Diff] = {-7,-14,-21,-28} &amp;gt;} [Fore Hours] )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know there are other ways of attacking it, but is there any way to get this to work?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 17:50:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negative-Values-In-Set-Analysis/m-p/220439#M73351</guid>
      <dc:creator />
      <dc:date>2011-04-18T17:50:52Z</dc:date>
    </item>
    <item>
      <title>Negative Values In Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Negative-Values-In-Set-Analysis/m-p/220440#M73352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jeff,&lt;/P&gt;&lt;P&gt;Try enclosing each number with single quotes.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 18:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negative-Values-In-Set-Analysis/m-p/220440#M73352</guid>
      <dc:creator>vgutkovsky</dc:creator>
      <dc:date>2011-04-18T18:24:29Z</dc:date>
    </item>
    <item>
      <title>Negative Values In Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Negative-Values-In-Set-Analysis/m-p/220441#M73353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That did it - thanks as always Vlad!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Apr 2011 18:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Negative-Values-In-Set-Analysis/m-p/220441#M73353</guid>
      <dc:creator />
      <dc:date>2011-04-18T18:38:19Z</dc:date>
    </item>
  </channel>
</rss>

