<?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 CONDITIONAL SUM in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186820#M50747</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, click on Table Viewer to check if the relationship between the tables is ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Jan 2011 13:27:28 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-01-26T13:27:28Z</dc:date>
    <item>
      <title>CONDITIONAL SUM</title>
      <link>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186819#M50746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hI folks!!&lt;/P&gt;&lt;P&gt;I have three tables:&lt;/P&gt;&lt;P&gt;Table 1: MES_BALANCE, AÑO, MES, ID&lt;/P&gt;&lt;P&gt;Table 2: SOCIEDAD, CUENTA, MES_BALANCE, IMP_DIARIO, ID_SOCCTA&lt;/P&gt;&lt;P&gt;Table 3: ID_SOCCTA, IMP_ANALITICA&lt;/P&gt;&lt;P&gt;I select information by selecting AÑO and MES (YEAR and MONTH)&lt;/P&gt;&lt;P&gt;Could I sum acumulate imp_analitica until month and year selected?&lt;/P&gt;&lt;P&gt;I create Table 1 exclusively to get an ID and sum it like: SUM({$&amp;lt;ID={'&amp;lt;=$(=ID)'} &amp;gt;} IMP_ANALITICA)&lt;/P&gt;&lt;P&gt;No data appears because ID is not a selected field, so I tried SUM({$&amp;lt;ID={'&amp;lt;=$(=Max(ID))'} &amp;gt;} IMP_ANALITICA)...&lt;/P&gt;&lt;P&gt;and wrong data.&lt;/P&gt;&lt;P&gt;Anyone can help me? I appreciate your help because I,m going crazy&lt;/P&gt;&lt;P&gt;Fiber9906&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 12:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186819#M50746</guid>
      <dc:creator />
      <dc:date>2011-01-26T12:58:20Z</dc:date>
    </item>
    <item>
      <title>CONDITIONAL SUM</title>
      <link>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186820#M50747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, click on Table Viewer to check if the relationship between the tables is ok.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 13:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186820#M50747</guid>
      <dc:creator />
      <dc:date>2011-01-26T13:27:28Z</dc:date>
    </item>
    <item>
      <title>CONDITIONAL SUM</title>
      <link>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186821#M50748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think it is, but I am reviewing constanly. Has it sense what I´m saying, isn´t it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 13:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186821#M50748</guid>
      <dc:creator />
      <dc:date>2011-01-26T13:32:56Z</dc:date>
    </item>
    <item>
      <title>CONDITIONAL SUM</title>
      <link>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186822#M50749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you share the file with us?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 13:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186822#M50749</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-26T13:40:22Z</dc:date>
    </item>
    <item>
      <title>CONDITIONAL SUM</title>
      <link>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186823#M50750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the 'ID' of table 1 the same of 'ID_SOCCTA' of table 2 and 3?&lt;/P&gt;&lt;P&gt;Because if not, then you'll create something to conect the two tables, at leas I guess it's this.&lt;/P&gt;&lt;P&gt;I'm new on Qlikview, so I trying to help you and this way helping me to learn more...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 13:43:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186823#M50750</guid>
      <dc:creator />
      <dc:date>2011-01-26T13:43:23Z</dc:date>
    </item>
    <item>
      <title>CONDITIONAL SUM</title>
      <link>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186824#M50751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry but I can´t upload a qv files. I´ll give you my example and my explanation in two docs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 17:30:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186824#M50751</guid>
      <dc:creator />
      <dc:date>2011-01-26T17:30:29Z</dc:date>
    </item>
    <item>
      <title>CONDITIONAL SUM</title>
      <link>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186825#M50752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And data to build the file. I´ll give the script in next post&lt;/P&gt;&lt;P&gt;This is the first time I link tables... but second liknig level is too hard for me.&lt;/P&gt;&lt;P&gt;I appreciate any answer.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 17:34:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186825#M50752</guid>
      <dc:creator />
      <dc:date>2011-01-26T17:34:08Z</dc:date>
    </item>
    <item>
      <title>CONDITIONAL SUM</title>
      <link>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186826#M50753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 17:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186826#M50753</guid>
      <dc:creator />
      <dc:date>2011-01-26T17:36:42Z</dc:date>
    </item>
    <item>
      <title>CONDITIONAL SUM</title>
      <link>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186827#M50754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found an idea to get my numbrs but it´s not very intuitive to users. To create another table with an ID, AÑO, MES fields and change relationship. But in my formulas it´s necessary to select filtering field because if not, it doesn´t work.&lt;/P&gt;&lt;P&gt;Any more ideas?&lt;/P&gt;&lt;P&gt;Fiber9906&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 18:09:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186827#M50754</guid>
      <dc:creator />
      <dc:date>2011-01-26T18:09:47Z</dc:date>
    </item>
    <item>
      <title>CONDITIONAL SUM</title>
      <link>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186828#M50755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;Hope this helps:&lt;/P&gt;&lt;P&gt;add a new filed :&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;&lt;B&gt;LOAD&lt;/B&gt; AÑO,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;MES,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;DIARIO,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;monthname(makedate(AÑO,MES)) as MESAÑO,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;&lt;B&gt;//&lt;/B&gt; COMPANY,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;&lt;B&gt;//&lt;/B&gt; ACCOUNT,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;COMPANY&amp;amp;'-'&amp;amp;ACCOUNT ID_COMACC,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;COMPANY&amp;amp;'-'&amp;amp;ACCOUNT&amp;amp;'-'&amp;amp;AÑO&amp;amp;'-'&amp;amp;MES &lt;B&gt;AS&lt;/B&gt; ID_COMACC2,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;DH,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;IMPORTE,&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;IMP_CONTA&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;&lt;B&gt;FROM&lt;/B&gt; &lt;C&gt; (biff, embedded labels, table is CONTA$);&lt;/C&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left; text-indent: 0cm"&gt;then, change your expressions to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin: 0cm 0cm 0pt; mso-layout-grid-align: none; text-align: left"&gt;SUM({$&amp;lt;MESAÑO={'&amp;lt;=$(#=max(MESAÑO))'}, MES=, AÑO=, DIARIO={'0'} &amp;gt;} IMP_ANALITICA)&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;&lt;/P&gt;&lt;P style="margin:0cm 0cm 0pt;"&gt;best regards!&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 18:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186828#M50755</guid>
      <dc:creator />
      <dc:date>2011-01-26T18:44:48Z</dc:date>
    </item>
    <item>
      <title>CONDITIONAL SUM</title>
      <link>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186829#M50756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It´s a very good reply!! It looks like that it works perfectly!!! I´ve been doing test since yesterday morning.... so you don´t know how appreciate your answer.&lt;/P&gt;&lt;P&gt;Really thank you!&lt;/P&gt;&lt;P&gt;Fiber9906&lt;/P&gt;&lt;P&gt;PS. Where did you know to do that? I don´t find these things on tutorials... (or unlles I don´t know to search for)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Jan 2011 18:59:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/CONDITIONAL-SUM/m-p/186829#M50756</guid>
      <dc:creator />
      <dc:date>2011-01-26T18:59:06Z</dc:date>
    </item>
  </channel>
</rss>

