<?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: Set Analysis - Date Range and Total Value Greater than in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403161#M815931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you let me know why you should not get CU004 customer? He has one orderline before 1st sep 2017 with a creditlm as 80.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this in your expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= IF(sum(DISTINCT {$&amp;lt; EgDate = {"$(='&amp;lt;' &amp;amp; TimeStamp(Floor(MonthStart(Today())), 'DD/MM/YYYY hh:mm:ss'))"}&amp;gt;} CredLim) &amp;gt;= $(vCredit), &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(DISTINCT {$&amp;lt; EgDate = {"$(='&amp;lt;' &amp;amp; TimeStamp(Floor(MonthStart(Today())), 'DD/MM/YYYY hh:mm:ss'))"}&amp;gt;} CredLim))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Sep 2017 15:28:56 GMT</pubDate>
    <dc:creator>vishsaggi</dc:creator>
    <dc:date>2017-09-14T15:28:56Z</dc:date>
    <item>
      <title>Set Analysis - Date Range and Total Value Greater than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403155#M815920</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 have the attached Document&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I change the value on vCredit to 40, I would expect the only CustNo to return would be CU001 and CU002.&lt;/P&gt;&lt;P&gt;This because for CustNo:&lt;/P&gt;&lt;P&gt;CU001 there are two OrderId's A001 and A004 where there are four OrderLine's before the date of the 01st September for the EgDate and the Sum Total of the Distinct CreditLim A001 = 38 and A004 = 60&amp;nbsp; which comes to a Total Credit of 98, it shows 60 because my exprssion is set in a way it will only sum the credit per OrderId how do I filter it to add the total sum for the CustNo?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CU002 there are one OrderId A005 where there are two OrderLine's before the date of the 01st September for the EgDate and the Sum Total of the Distinct CreditLim A005 = 80&amp;nbsp; which comes to a Total Credit of 80 whch it is returning fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&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/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403155#M815920</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Date Range and Total Value Greater than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403156#M815921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you aggregate on &lt;STRONG&gt;CustNo&lt;/STRONG&gt; instead &lt;STRONG style="text-decoration: line-through;"&gt;OrderId&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 00:13:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403156#M815921</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-09-13T00:13:45Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Date Range and Total Value Greater than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403157#M815923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why the CustNo should not return CU004?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 00:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403157#M815923</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-13T00:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Date Range and Total Value Greater than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403158#M815925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If yes, then follow Anil's suggestion of adding CustNo to your aggregation in place of OrderId.You should see the total.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 00:35:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403158#M815925</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-13T00:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Date Range and Total Value Greater than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403159#M815927</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;Thanks for the reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It will not work when I Group By CustId, if you look at the attached I have added a new OrderId &lt;STRONG&gt;A007&lt;/STRONG&gt; and OrderLine &lt;STRONG&gt;1&lt;/STRONG&gt; where this has the same &lt;STRONG&gt;CredLim&lt;/STRONG&gt; and &lt;STRONG&gt;EgDate&lt;/STRONG&gt; as OrderId &lt;STRONG&gt;A001&lt;/STRONG&gt; and OrderLine &lt;STRONG&gt;2&lt;/STRONG&gt;, it seems to be picking the one value where it needs to add together both values. The &lt;STRONG&gt;CredLim&lt;/STRONG&gt; will be the same Value across the whole &lt;STRONG&gt;OrderId&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first table is bringing the correct results but when I apply a value of &lt;STRONG&gt;40&lt;/STRONG&gt; to the variable &lt;STRONG&gt;vCredit&lt;/STRONG&gt; it is filter on the individual OrderId.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I kind of want a SUM and then SUM again over the first result set from the set analysis and then apply the vatiable &lt;STRONG style="font-size: 13.3333px;"&gt;vCredit&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; &lt;/SPAN&gt; to the latest SUM if you know what I mean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Sep 2017 22:04:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403159#M815927</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2017-09-13T22:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Date Range and Total Value Greater than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403160#M815929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone out there that thinks this can be done?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 14:33:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403160#M815929</guid>
      <dc:creator>ivandrago</dc:creator>
      <dc:date>2017-09-14T14:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Set Analysis - Date Range and Total Value Greater than</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403161#M815931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you let me know why you should not get CU004 customer? He has one orderline before 1st sep 2017 with a creditlm as 80.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this in your expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;= IF(sum(DISTINCT {$&amp;lt; EgDate = {"$(='&amp;lt;' &amp;amp; TimeStamp(Floor(MonthStart(Today())), 'DD/MM/YYYY hh:mm:ss'))"}&amp;gt;} CredLim) &amp;gt;= $(vCredit), &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum(DISTINCT {$&amp;lt; EgDate = {"$(='&amp;lt;' &amp;amp; TimeStamp(Floor(MonthStart(Today())), 'DD/MM/YYYY hh:mm:ss'))"}&amp;gt;} CredLim))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Sep 2017 15:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-Date-Range-and-Total-Value-Greater-than/m-p/1403161#M815931</guid>
      <dc:creator>vishsaggi</dc:creator>
      <dc:date>2017-09-14T15:28:56Z</dc:date>
    </item>
  </channel>
</rss>

