<?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: Greater Than in Set Analysis in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001585#M468122</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;You need date function after the $ (dollar sign expansion)&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum({1&amp;lt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeekPaid&lt;/SPAN&gt;={&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=Date(vFour_Weeks_Ago))"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;treatment_count&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Sep 2015 14:19:58 GMT</pubDate>
    <dc:creator>Gabriel</dc:creator>
    <dc:date>2015-09-22T14:19:58Z</dc:date>
    <item>
      <title>Greater Than in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001583#M468120</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'm trying to sum a field where it's week paid date is greater than the 24/08/2015 using Set Analysis where the date of the 24/08/2015 is calculated by a variable. When I view the variable result in a text box is displays as 24/08/2015. When I use that variable in Set Analysis I get no answer to the calculation. If I just type the date in manually it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how it looks with the date manually typed&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #0000ff;"&gt;Sum&lt;/SPAN&gt;({1&amp;lt;&lt;SPAN style="color: #800000;"&gt;WeekPaid&lt;/SPAN&gt;={&lt;SPAN style="color: #800000;"&gt;"&amp;gt;=24/08/2015"&lt;/SPAN&gt;}&amp;gt;}&lt;SPAN style="color: #800000;"&gt;treatment_count&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;This is my latest attempt at getting that to work with the variable&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeekPaid&lt;/SPAN&gt;&lt;SPAN&gt;={&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(vFour_Weeks_Ago)"&lt;/SPAN&gt;&lt;SPAN&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;treatment_count&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;=$(vFour_Weeks_Ago) returns 24/08/2015 &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Where am I going wrong?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Nick&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 14:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001583#M468120</guid>
      <dc:creator>nickking</dc:creator>
      <dc:date>2015-09-22T14:13:01Z</dc:date>
    </item>
    <item>
      <title>Re: Greater Than in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001584#M468121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;May be&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;({1&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;WeekPaid&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;={&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;"&amp;gt;=$(Date(vFour_Weeks_Ago))"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;}&amp;gt;} &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;treatment_count&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 14:19:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001584#M468121</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2015-09-22T14:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: Greater Than in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001585#M468122</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;You need date function after the $ (dollar sign expansion)&lt;/P&gt;&lt;P&gt;=&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Sum({1&amp;lt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;WeekPaid&lt;/SPAN&gt;={&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;"&amp;gt;=$(=Date(vFour_Weeks_Ago))"&lt;/SPAN&gt;}&amp;gt;} &lt;SPAN style="color: #800000; font-size: 8pt;"&gt;treatment_count&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 14:19:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001585#M468122</guid>
      <dc:creator>Gabriel</dc:creator>
      <dc:date>2015-09-22T14:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Greater Than in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001586#M468123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Manish but that hasn't solved the problem. Putting that in is bringing back the sum of everything in the dashboard so it's now ignoring the modifier.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 14:22:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001586#M468123</guid>
      <dc:creator>nickking</dc:creator>
      <dc:date>2015-09-22T14:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Greater Than in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001587#M468124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gabriel. Unfortunately when I try that the result of the formula becomes 0 rather than the 37,000 I'm looking for.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 14:24:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001587#M468124</guid>
      <dc:creator>nickking</dc:creator>
      <dc:date>2015-09-22T14:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Greater Than in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001588#M468125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Because the variable is formatted as a date, you will need single quotes (so its not interpreted as 24 divided by 8 divided by 2015):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({1&amp;lt;WeekPaid={"&amp;gt;='$(vFour_Weeks_Ago)'"}&amp;gt;} treatment_count)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 14:24:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001588#M468125</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-09-22T14:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: Greater Than in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001589#M468126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Jonathan that doesn't appear to work either but thanks for replying&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 14:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001589#M468126</guid>
      <dc:creator>nickking</dc:creator>
      <dc:date>2015-09-22T14:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Greater Than in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001590#M468127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually making a slight amendment to Gabriel's answer appears to have solved this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Sum({1&amp;lt;WeekPaid={"&amp;gt;=$(=$(vFour_Weeks_Ago))"}&amp;gt;} treatment_count)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is giving the right answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 14:31:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001590#M468127</guid>
      <dc:creator>nickking</dc:creator>
      <dc:date>2015-09-22T14:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Greater Than in Set Analysis</title>
      <link>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001591#M468128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After viewing the Load Script editor I exited without reloading and the formula was no longer working. Currently the formula below is working but as there is obviously a bug in the software I don't know how long the solution will hold.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({1&amp;lt;WeekPaid={".=$(vFour_Weeks_Ago)"}&amp;gt;} treatment_count)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 15:59:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Greater-Than-in-Set-Analysis/m-p/1001591#M468128</guid>
      <dc:creator>nickking</dc:creator>
      <dc:date>2015-09-22T15:59:07Z</dc:date>
    </item>
  </channel>
</rss>

