<?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: Conditional Total in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625845#M230134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems very, very close to your other thread.Please try to avoid posting the same question multiple times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I would suggest looking into dimensionality() / secondarydimensionality()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2014 20:12:04 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-03-11T20:12:04Z</dc:date>
    <item>
      <title>Conditional Total</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625844#M230133</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;is it possible to have conditional subtotals on the total line?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i wish for example to do the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;two article types;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;9 level, ie 90001200&lt;/P&gt;&lt;P&gt;8 level ie&amp;nbsp; 80004000&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pseudo:&lt;/P&gt;&lt;P&gt;if(left(articletype,1) = '8', show 0 in the total row but show row values&lt;/P&gt;&lt;P&gt;if(left(articletyp,1) = '9', show aggregated values in total and show row values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have attached my application for better understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 20:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625844#M230133</guid>
      <dc:creator />
      <dc:date>2014-03-11T20:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Total</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625845#M230134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems very, very close to your other thread.Please try to avoid posting the same question multiple times.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, I would suggest looking into dimensionality() / secondarydimensionality()&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 20:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625845#M230134</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-03-11T20:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Total</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625846#M230135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the field name of the article type in the attached sample.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 20:18:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625846#M230135</guid>
      <dc:creator>srchilukoori</dc:creator>
      <dc:date>2014-03-11T20:18:32Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Total</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625847#M230136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Lagerartikel_&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sent from my iPhone&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 20:20:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625847#M230136</guid>
      <dc:creator />
      <dc:date>2014-03-11T20:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Total</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625848#M230137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if attached is what you want, as &lt;A href="https://community.qlik.com/qlik-users/15823"&gt;swuehl&lt;/A&gt; mentions, you need dimensionality:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(dimensionality()&amp;lt;&amp;gt;1, sum(Round(Aggr(&lt;/P&gt;&lt;P&gt;sum(if([OrderYearWeek] &amp;gt;=&lt;/P&gt;&lt;P&gt;weekyear(today()-(7 * vAntalVeckor))&amp;amp;num(week(today()-(7 * vAntalVeckor)),00)&lt;/P&gt;&lt;P&gt;,[Ordered qty],0))&lt;/P&gt;&lt;P&gt;/vAntalVeckor, Category, Colour, LagerArtikel_, SvItemdesc, [Lager/Risk]), 1)) , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;LagerArtikel_= {'=left(LagerArtikel_,1)&amp;lt;&amp;gt;8'}&amp;gt;}Round(Aggr(&lt;/P&gt;&lt;P&gt;sum({&amp;lt;LagerArtikel_= {'=left(LagerArtikel_,1)&amp;lt;&amp;gt;8'}&amp;gt;}if([OrderYearWeek] &amp;gt;=&lt;/P&gt;&lt;P&gt;weekyear(today()-(7 * vAntalVeckor))&amp;amp;num(week(today()-(7 * vAntalVeckor)),00)&lt;/P&gt;&lt;P&gt;,[Ordered qty],0))&lt;/P&gt;&lt;P&gt;/vAntalVeckor, Category, Colour, LagerArtikel_, SvItemdesc, [Lager/Risk]), 1))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 20:28:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625848#M230137</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-03-11T20:28:28Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Total</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625849#M230138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is correct!&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However furthering my knowledge, is it not possible to show the total row&amp;nbsp; but not show the aggregated value in the total column cell for all '8' lagerartikel_.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in SAP BW this is possible but i believe in QV this is potentially not available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best&lt;/P&gt;&lt;P&gt;Brad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 20:49:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625849#M230138</guid>
      <dc:creator />
      <dc:date>2014-03-11T20:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Total</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625850#M230139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want the total row still shown for the 8's, but not show any value? You'll have to add another "if" to your equation like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(dimensionality()&amp;lt;&amp;gt;1, sum(Round(Aggr(&lt;/P&gt;&lt;P&gt;sum(if([OrderYearWeek] &amp;gt;=&lt;/P&gt;&lt;P&gt;weekyear(today()-(7 * vAntalVeckor))&amp;amp;num(week(today()-(7 * vAntalVeckor)),00)&lt;/P&gt;&lt;P&gt;,[Ordered qty],0))&lt;/P&gt;&lt;P&gt;/vAntalVeckor, Category, Colour, LagerArtikel_, SvItemdesc, [Lager/Risk]), 1)) , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;if(left(maxstring(LagerArtikel_), 1) &amp;lt;&amp;gt; 8,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;LagerArtikel_= {'=left(LagerArtikel_,1)&amp;lt;&amp;gt;8'}&amp;gt;}Round(Aggr(&lt;/P&gt;&lt;P&gt;sum({&amp;lt;LagerArtikel_= {'=left(LagerArtikel_,1)&amp;lt;&amp;gt;8'}&amp;gt;}if([OrderYearWeek] &amp;gt;=&lt;/P&gt;&lt;P&gt;weekyear(today()-(7 * vAntalVeckor))&amp;amp;num(week(today()-(7 * vAntalVeckor)),00)&lt;/P&gt;&lt;P&gt;,[Ordered qty],0))&lt;/P&gt;&lt;P&gt;/vAntalVeckor, Category, Colour, LagerArtikel_, SvItemdesc, [Lager/Risk]), 1))&lt;STRONG&gt;,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;' ')&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here since there is more than one LagerArtikel_ for the total, you'll need to just take one of these by using maxstring. Then for the total, I just used the blank space for the 8's(you can put whatever you want there). Hopefully that is what you're asking, if not can you give an example of of what you want shown.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 13:04:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625850#M230139</guid>
      <dc:creator>jerem1234</dc:creator>
      <dc:date>2014-03-12T13:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: Conditional Total</title>
      <link>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625851#M230140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;correct thank you&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Mar 2014 23:53:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditional-Total/m-p/625851#M230140</guid>
      <dc:creator />
      <dc:date>2014-03-12T23:53:03Z</dc:date>
    </item>
  </channel>
</rss>

