<?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: Total in Line Chart in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570737#M212664</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks if my suggestion helps you so mark it help ful.&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, 14 Apr 2014 14:59:48 GMT</pubDate>
    <dc:creator>its_anandrjs</dc:creator>
    <dc:date>2014-04-14T14:59:48Z</dc:date>
    <item>
      <title>Total in Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570730#M212657</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;I have a Line chart with dimensions are Level,Country and expression is SUM(Sales). I am getting expected output, but my client requirement is he would like to see one more line the chart with total. Pls find the attached qvw, source file and screenshot of the dashboard. I am using personal edition only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how to draw a line to show the total value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: Level: 1, Country: IN and SUM(Sales): 2854&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Level: 2, Country: IN and SUM(Sales): 8706&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And wanted to see one more line for IN, the total of 11560 and so on.... (I don't want to do anything in the script and only at the dashboard level)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure whether it is possible or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2014 18:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570730#M212657</guid>
      <dc:creator />
      <dc:date>2014-04-13T18:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Total in Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570731#M212658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put another statement like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Aggr(Sum(Sales),Country)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2014 18:53:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570731#M212658</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-13T18:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Total in Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570732#M212659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add another expression like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dimension1:- Country&lt;/P&gt;&lt;P&gt;Dimension2:- Level&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression1:- =SUM(Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression2:- =Aggr(Sum(Sales),Country)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;See the attached snap shot&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="57174" alt="Totalandsum.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/57174_Totalandsum.png" /&gt;&lt;/P&gt;&lt;P&gt;I suggest if you make your first expression as Bar or Symbol it looks better try that one.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2014 18:58:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570732#M212659</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-13T18:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Total in Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570733#M212660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create a Line Chart...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Dimension&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;1) Country&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;2) Calculated Dimension&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;=Valuelist($(=Concat(DISTINCT chr(39)&amp;amp;Level&amp;amp;chr(39),',')),'Total')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Expression&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pick(Match(Valuelist(&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(=Concat(DISTINCT chr(39)&amp;amp;Level&amp;amp;chr(39),',')),'Total'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(=Concat(DISTINCT chr(39)&amp;amp;Level&amp;amp;chr(39),',')),'Total'),&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;sum(TOTAL&amp;nbsp; &amp;lt;Country&amp;gt; DISTINCT Sales),&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; $(=Concat(DISTINCT 'sum({&amp;lt;Level={'&amp;nbsp; &amp;amp; chr(39) &amp;amp; Level &amp;amp; chr(39) &amp;amp; '}&amp;gt;}Sales)'&amp;nbsp; ,','))&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;)&lt;/SPAN&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>Sun, 13 Apr 2014 20:07:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570733#M212660</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-13T20:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Total in Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570734#M212661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anand, It works but we miss Levels and Manish's function works well. Manish, Its works as expected and I need to understand about the formula here... Thanks both of you..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 14:25:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570734#M212661</guid>
      <dc:creator />
      <dc:date>2014-04-14T14:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Total in Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570735#M212662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad that my answer helps you out.&lt;/P&gt;&lt;P&gt;Kindly close the thread by selecting correct/helpful answer.&lt;/P&gt;&lt;P&gt;I will upload soon about how the formula works..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 14:32:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570735#M212662</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-14T14:32:51Z</dc:date>
    </item>
    <item>
      <title>Re: Total in Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570736#M212663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;=Valuelist($(=Concat(DISTINCT chr(39)&amp;amp;Level&amp;amp;chr(39),',')),'Total')&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="line-height: 1.5em;"&gt;$(=Concat(DISTINCT chr(39)&amp;amp;Level&amp;amp;chr(39),',')) will give you below Level result&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; '1', '2'&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Now Valuelist('1','2','Total') is your second dimension and Country is your First Dimension&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Pick(Match(Valuelist(&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; $(=Concat(DISTINCT chr(39)&amp;amp;Level&amp;amp;chr(39),',')),'Total'),&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; $(=Concat(DISTINCT chr(39)&amp;amp;Level&amp;amp;chr(39),',')),'Total'),&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;sum(TOTAL&amp;nbsp; &amp;lt;Country&amp;gt; DISTINCT Sales),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp; $(=Concat(DISTINCT 'sum({&amp;lt;Level={'&amp;nbsp; &amp;amp; chr(39) &amp;amp; Level &amp;amp; chr(39) &amp;amp; '}&amp;gt;}Sales)'&amp;nbsp; ,','))&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Pick(Match(ValueList(Exp1, Exp1), Res1, Res2))&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Match Function first match Exp1, Exp1 and will give your result 1 or 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Pick will use Res1 if Match give result 1 and Res2 if Match result is 2.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Bit complicated but if you search &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Concat&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;ValueList&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Pick&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Match&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12.800000190734863px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt; font-family: inherit;"&gt;Functions and learn them, it would be easy to understand.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Apr 2014 14:46:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570736#M212663</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-04-14T14:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: Total in Line Chart</title>
      <link>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570737#M212664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks if my suggestion helps you so mark it help ful.&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, 14 Apr 2014 14:59:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Total-in-Line-Chart/m-p/570737#M212664</guid>
      <dc:creator>its_anandrjs</dc:creator>
      <dc:date>2014-04-14T14:59:48Z</dc:date>
    </item>
  </channel>
</rss>

