<?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: sum/aggr no user selections time in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/sum-aggr-no-user-selections-time/m-p/422509#M489383</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;&lt;/P&gt;&lt;P&gt;Create month and year fields in the Load&amp;nbsp; script some thing like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year(Replace(Time,'-','/')) as Year,&lt;/P&gt;&lt;P&gt;Month(Replace(Time,'-','/')) as Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create field some thing like in the load script also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(Year = 2011, Value)) as totalvalue2011,&lt;/P&gt;&lt;P&gt;sum(if(Year = 2012, Value)) as totalvalue2012,&lt;/P&gt;&lt;P&gt;sum(if(Year = 2012 and Month = 'Jan', Value)) as totalvaluejan2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 10 Nov 2012 14:29:20 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2012-11-10T14:29:20Z</dc:date>
    <item>
      <title>sum/aggr no user selections time</title>
      <link>https://community.qlik.com/t5/QlikView/sum-aggr-no-user-selections-time/m-p/422508#M489382</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have to create this columns "total value 2012", total value 2011", "total value jan 2012", "total value jan 2011" ignore user selections time&lt;/P&gt;&lt;P&gt;but according dimensions country,name. How?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD * INLINE [&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Name, Country, Value, Time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; john, us, 10, 01-01-2012&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kate, scotland, 120, 02-02-2012&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; kate, us, 1120, 03-03-2012&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mac, us, 90, 01-01-2011&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ddsds, uk, 200, 03-02-2011&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pat, scotland, 100, 03-03-2011&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pat, us, 10, 04-04-2012&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2012 14:00:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-aggr-no-user-selections-time/m-p/422508#M489382</guid>
      <dc:creator />
      <dc:date>2012-11-10T14:00:04Z</dc:date>
    </item>
    <item>
      <title>Re: sum/aggr no user selections time</title>
      <link>https://community.qlik.com/t5/QlikView/sum-aggr-no-user-selections-time/m-p/422509#M489383</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;&lt;/P&gt;&lt;P&gt;Create month and year fields in the Load&amp;nbsp; script some thing like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year(Replace(Time,'-','/')) as Year,&lt;/P&gt;&lt;P&gt;Month(Replace(Time,'-','/')) as Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create field some thing like in the load script also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum(if(Year = 2011, Value)) as totalvalue2011,&lt;/P&gt;&lt;P&gt;sum(if(Year = 2012, Value)) as totalvalue2012,&lt;/P&gt;&lt;P&gt;sum(if(Year = 2012 and Month = 'Jan', Value)) as totalvaluejan2011&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2012 14:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-aggr-no-user-selections-time/m-p/422509#M489383</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2012-11-10T14:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: sum/aggr no user selections time</title>
      <link>https://community.qlik.com/t5/QlikView/sum-aggr-no-user-selections-time/m-p/422510#M489384</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;&lt;/P&gt;&lt;P&gt;After creation of the Year and Month like&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Year(Replace(Time,'-','/')) as Year,&lt;/P&gt;&lt;P style="background-color: #ffffff; color: #737373; font-family: Arial;"&gt;Month(Replace(Time,'-','/')) as Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use Set Analysis calculation this is also can be done like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;totalvalue2011 =&lt;/SPAN&gt;&amp;nbsp; sum({&amp;lt;Year={'2011'}&amp;gt;} Value) &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;totalvalue2012&lt;/SPAN&gt; =&amp;nbsp; sum({&amp;lt;Year={'2012'}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #737373; font-family: Arial; background-color: #ffffff;"&gt;totalvaluejan2011&lt;/SPAN&gt; = sum({&amp;lt;Month={'Jan'}, Year={'2011'}&amp;gt;} Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Anand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2012 14:53:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-aggr-no-user-selections-time/m-p/422510#M489384</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2012-11-10T14:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: sum/aggr no user selections time</title>
      <link>https://community.qlik.com/t5/QlikView/sum-aggr-no-user-selections-time/m-p/422511#M489385</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've tried this method but no ignore user selections time.&lt;/P&gt;&lt;P&gt;If the user select 2012 or 2012 or a month the values change.&lt;/P&gt;&lt;P&gt;I want the correct a total value always, perform any selection operator run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Nov 2012 08:54:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/sum-aggr-no-user-selections-time/m-p/422511#M489385</guid>
      <dc:creator />
      <dc:date>2012-11-12T08:54:53Z</dc:date>
    </item>
  </channel>
</rss>

