<?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: cal in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/cal/m-p/1342920#M825621</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;The expression I gave used set analysis which includes terms inside a set of curly brackets. The number 1 here is a set identifier. The default set identifier is $ which is sometimes omitted, $ means the set of records associated with the current selections. 1 as a set identifier means all records in the app regardless of selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set identifier is used twice here. The first time is to tell QV to disregard all selections when returning the sum of Amounts associated with the minimum date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing to realise is that a selection may change the minimum date. A product that was only bought one week ago will give a minimum date of just a few days ago, so min({1}Date) returns the minimum date regardless of selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jul 2017 10:11:22 GMT</pubDate>
    <dc:creator>effinty2112</dc:creator>
    <dc:date>2017-07-20T10:11:22Z</dc:date>
    <item>
      <title>cal</title>
      <link>https://community.qlik.com/t5/QlikView/cal/m-p/1342917#M825618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ALl &lt;/P&gt;&lt;P&gt;how do we find sum of amount for min date ,&lt;/P&gt;&lt;P&gt;and also this should not affect my slection made in the filter &lt;/P&gt;&lt;P&gt;It whould exclude the selections &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/cal/m-p/1342917#M825618</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: cal</title>
      <link>https://community.qlik.com/t5/QlikView/cal/m-p/1342918#M825619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=sum({1&amp;lt;Date = {'$(=min({1}Date))'}&amp;gt;}Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 09:52:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal/m-p/1342918#M825619</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-20T09:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: cal</title>
      <link>https://community.qlik.com/t5/QlikView/cal/m-p/1342919#M825620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI ,&lt;/P&gt;&lt;P&gt;Andrew .....what does 1 do here ? will it exclude all the slections ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 09:55:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal/m-p/1342919#M825620</guid>
      <dc:creator>smilingjohn</dc:creator>
      <dc:date>2017-07-20T09:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: cal</title>
      <link>https://community.qlik.com/t5/QlikView/cal/m-p/1342920#M825621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;The expression I gave used set analysis which includes terms inside a set of curly brackets. The number 1 here is a set identifier. The default set identifier is $ which is sometimes omitted, $ means the set of records associated with the current selections. 1 as a set identifier means all records in the app regardless of selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The set identifier is used twice here. The first time is to tell QV to disregard all selections when returning the sum of Amounts associated with the minimum date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The thing to realise is that a selection may change the minimum date. A product that was only bought one week ago will give a minimum date of just a few days ago, so min({1}Date) returns the minimum date regardless of selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 10:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal/m-p/1342920#M825621</guid>
      <dc:creator>effinty2112</dc:creator>
      <dc:date>2017-07-20T10:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: cal</title>
      <link>https://community.qlik.com/t5/QlikView/cal/m-p/1342921#M825622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1 Represents the full set of all the records in the application, irrespective of any selections made, so this expression given by andrew&amp;nbsp; is working correct&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 10:16:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal/m-p/1342921#M825622</guid>
      <dc:creator>mangalsk</dc:creator>
      <dc:date>2017-07-20T10:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: cal</title>
      <link>https://community.qlik.com/t5/QlikView/cal/m-p/1342922#M825623</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;=sum({1&amp;lt;Date={$(=min({1}Date)}&amp;gt;}Amount)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jul 2017 10:17:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/cal/m-p/1342922#M825623</guid>
      <dc:creator>shiveshsingh</dc:creator>
      <dc:date>2017-07-20T10:17:14Z</dc:date>
    </item>
  </channel>
</rss>

