<?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 Multiple Totals on Dataset in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489949#M553097</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a simple Pivot Table Chart with the Dimension as Year, Month and a single Expression of SUM(Monthly Return). I am viewing the pivot with the Year as the rows and the Month as the column and the monthly return as the data item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to see View MULTIPLE total on the dimension YEAR. So for example: I want to know the Mean and StdDev of returns for each month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I can only seem to able to set ONE total either Mean(Average) or the StdDev, but not both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression for the TOTAL:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;1. Expression for STDeV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Dimensionality&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()=0 ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Stdev&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FS_Fund_1M_Rtn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FS_Fund_1M_Rtn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;2. expression for Avg&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Dimensionality&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()=0 ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AVG&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FS_Fund_1M_Rtn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FS_Fund_1M_Rtn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to construct a pivot or a table chart with MULTIPLE TOTALS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 Sep 2013 15:56:52 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-09-27T15:56:52Z</dc:date>
    <item>
      <title>Multiple Totals on Dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489949#M553097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a simple Pivot Table Chart with the Dimension as Year, Month and a single Expression of SUM(Monthly Return). I am viewing the pivot with the Year as the rows and the Month as the column and the monthly return as the data item.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to see View MULTIPLE total on the dimension YEAR. So for example: I want to know the Mean and StdDev of returns for each month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However I can only seem to able to set ONE total either Mean(Average) or the StdDev, but not both.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression for the TOTAL:&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 8pt;"&gt;1. Expression for STDeV&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Dimensionality&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()=0 ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Stdev&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FS_Fund_1M_Rtn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FS_Fund_1M_Rtn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OR&lt;/P&gt;&lt;P&gt;2. expression for Avg&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Dimensionality&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()=0 ,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;AVG&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FS_Fund_1M_Rtn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FS_Fund_1M_Rtn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to construct a pivot or a table chart with MULTIPLE TOTALS?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 15:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489949#M553097</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-27T15:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Totals on Dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489950#M553098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to write multiple expression as multiple totals is not possible.Other wise write two expressions one is for Mean &amp;amp; another for StdDev&amp;nbsp; and group them.so that u can select any one at a time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if this is not what you looking for.. then please attach the sample format.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Shiva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 16:49:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489950#M553098</guid>
      <dc:creator>spsrk_84</dc:creator>
      <dc:date>2013-09-27T16:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Totals on Dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489951#M553099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is possible with conditional expression, see attached&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit:&amp;nbsp; This is just an illustration.&amp;nbsp; As for calculations, depending on what is needed (avg and sd dev on month level vs. record level), you maybe need this instead of Amount in the aggregations:&lt;BR /&gt;aggr(sum(Amount),Month,Year) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Sep 2013 17:18:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489951#M553099</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-09-27T17:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Totals on Dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489952#M553100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you VERY Much. It's not pretty but it works!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd prefer to have it as a avg/stddev of the Months rather than the year. But that's just changing the 'Show Partial Sums' at the Year and not the Month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But more importantly I wanted to see the StdDev and Avg as two separate rows, rather than a single rows with two values. If you know how I can achieve this then it would be perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it seems to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 15:06:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489952#M553100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-01T15:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Totals on Dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489953#M553101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there anyway of applying the Visual Cues on Totals that is constructed from conditional expression below?&lt;/P&gt;&lt;P&gt;Such that if the Avg or Stddev&amp;gt;0 then it's 'green' else 'red'?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Dimensionality&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()=1 , &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;SUM&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FS_Fund_1M_Rtn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),&lt;BR /&gt;&lt;BR /&gt;'Mean&amp;nbsp; : ' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Avg&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FS_Fund_1M_Rtn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;), '##.##%') &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;chr&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(10) &amp;amp;&amp;nbsp; 'StDev : ' &amp;amp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Stdev&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;FS_Fund_1M_Rtn&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'##.##%')&lt;BR /&gt;&lt;BR /&gt;) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 15:35:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489953#M553101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-01T15:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Multiple Totals on Dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489954#M553102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Manish,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try attribute expression for the background color (or for text color), probably this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if((Dimensionality()&amp;lt;&amp;gt;1&lt;BR /&gt; if(Avg(FS_Fund_1M_Rtn)&amp;gt;0 or Stdev(FS_Fund_1M_Rtn)&amp;gt;0, &lt;BR /&gt;&amp;nbsp; rgb(100,255,100), &lt;BR /&gt;&amp;nbsp; rgb(255,100,100))&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See my example attached.&amp;nbsp; It is different but illustrates the aproach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 15:52:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489954#M553102</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-01T15:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Multiple Totals on Dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489955#M553103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Michael&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That works for the entire text in the cell. However the only thing I would say is that I wanted the avg number to be green/red depending upon on whether it's positive or negative. But the Stdev I always want it black.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any idea how I can split the colour of text in the one cell?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 17:33:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489955#M553103</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-01T17:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Multiple Totals on Dataset</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489956#M553104</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No such luxury, one cell - one color...&amp;nbsp; Don't have any idea at this time if its possible at all to split it into two cells.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 18:01:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Totals-on-Dataset/m-p/489956#M553104</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-01T18:01:20Z</dc:date>
    </item>
  </channel>
</rss>

