<?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: Using set analysis to filter on the date in the dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158265#M893026</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are missing the Set syntax I presume, try again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;sum(&lt;SPAN style="color: #ff0000;"&gt; {&amp;lt;&lt;/SPAN&gt; [Paid Date] = { "$(= '&amp;lt;=' &amp;amp; max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[As Of Date])&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;)" }&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&amp;gt;}&lt;/SPAN&gt; [Paid Amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 09 Aug 2016 16:30:57 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2016-08-09T16:30:57Z</dc:date>
    <item>
      <title>Using set analysis to filter on the date in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158263#M893024</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I want to use set analysis on the As Of Date in the dimension column. I am trying to count the paid amount up to a certain date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This formula works.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;sum(if([Paid Date] &amp;lt;= [As Of Date], [Paid Amount]))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This does not. It grabs the max date of the entire set, not the dimension.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;sum({&amp;lt;[Paid Date] ={"$(= '&amp;lt;=' &amp;amp; max(&lt;SPAN style="font-size: 13.3333px;"&gt;[As Of Date])&lt;/SPAN&gt;)"}&amp;gt;} [Paid Amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" height="214" style="height: 214px; width: 317px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="17" width="98"&gt;As Of Date&lt;/TD&gt;&lt;TD class="xl63" style="border-left: none;" width="123"&gt;Paid Amount To Date&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;5/1/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&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; 2,500.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;4/1/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&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; 1,100.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;3/1/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&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; 800.00&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl64" height="17" style="border-top: none;"&gt;2/1/2016&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&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; 400.00&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit for clarification:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;My issue is that for &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;[Paid Date] ={"$(= '&amp;lt;=' &amp;amp; max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[As Of Date])&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;)"}&amp;gt;} [Paid Amount]), &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;max(&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px;"&gt;[As Of Date]) always equals &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13px;"&gt;5/1/2016. I want it to equal &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;2/1/2016 when &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;2/1/2016 is the value in dimension&lt;/SPAN&gt;, 3&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;/1/2016 &lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;when 3&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit;"&gt;/1/2016 is the value in dimension, and so on. I hope that clarifies my question.&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;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158263#M893024</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using set analysis to filter on the date in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158264#M893025</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Would you be able to share a sample to look at this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 16:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158264#M893025</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-09T16:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Using set analysis to filter on the date in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158265#M893026</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are missing the Set syntax I presume, try again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;sum(&lt;SPAN style="color: #ff0000;"&gt; {&amp;lt;&lt;/SPAN&gt; [Paid Date] = { "$(= '&amp;lt;=' &amp;amp; max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[As Of Date])&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;)" }&amp;nbsp; &lt;SPAN style="color: #ff0000;"&gt;&amp;gt;}&lt;/SPAN&gt; [Paid Amount])&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 16:30:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158265#M893026</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-09T16:30:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using set analysis to filter on the date in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158266#M893027</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did have the Set syntax right in Qlikview, I just forgot to type it out correctly in my question.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is that for &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;sum({&amp;lt;[Paid Date] ={"$(= '&amp;lt;=' &amp;amp; max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[As Of Date])&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;)"}&amp;gt;} [Paid Amount]), &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;max(&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;[As Of Date]) always equals &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;5/1/2016. I want it to equal &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;2/1/2016 when &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;2/1/2016 is the value in dimension&lt;/SPAN&gt;, 3&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;/1/2016 &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;when 3&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;/1/2016 is the value in dimension, and so on. I hope that clarifies my question.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 17:03:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158266#M893027</guid>
      <dc:creator />
      <dc:date>2016-08-09T17:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: Using set analysis to filter on the date in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158267#M893028</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh ok. Would it be possible to send us a sample app your are working on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 18:30:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158267#M893028</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2016-08-09T18:30:26Z</dc:date>
    </item>
    <item>
      <title>Re: Using set analysis to filter on the date in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158268#M893029</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this expression:&lt;/P&gt;&lt;P&gt;sum({&amp;lt;As Of Date={"$(='&amp;gt;=' &amp;amp; PaidDate)"}&amp;gt;}Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 20:22:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158268#M893029</guid>
      <dc:creator />
      <dc:date>2016-08-09T20:22:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using set analysis to filter on the date in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158269#M893030</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did try this expression and it did not work:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;sum({&amp;lt;As Of Date={"$(='&amp;gt;=' &amp;amp; PaidDate)"}&amp;gt;}Amount)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 21:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158269#M893030</guid>
      <dc:creator />
      <dc:date>2016-08-09T21:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using set analysis to filter on the date in the dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158270#M893031</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess the issue here is that set analysis is defined once per chart and cannot be done for each row. Like &lt;A href="https://community.qlik.com/people/vishsaggi"&gt;vishsaggi&lt;/A&gt;‌ mentioned, we might be able to help you better if you are able to share a sample with us.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-1290"&gt;Preparing examples for Upload - Reduction and Data Scrambling&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-16454"&gt;Uploading a Sample&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Aug 2016 22:49:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-set-analysis-to-filter-on-the-date-in-the-dimension/m-p/1158270#M893031</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-08-09T22:49:42Z</dc:date>
    </item>
  </channel>
</rss>

