<?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: Display sum of rows from a chart, in a Text Object in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Display-sum-of-rows-from-a-chart-in-a-Text-Object/m-p/806460#M284726</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Aggr(&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;={'&amp;lt;=$(vEndDate)'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;={'&amp;gt;=$(vStartDate)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;recordCounter&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;),Dimension1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to replace the Dimension1 part with a comma seperated list of the dimensions you use in your table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Dec 2014 14:54:36 GMT</pubDate>
    <dc:creator>stigchel</dc:creator>
    <dc:date>2014-12-10T14:54:36Z</dc:date>
    <item>
      <title>Display sum of rows from a chart, in a Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Display-sum-of-rows-from-a-chart-in-a-Text-Object/m-p/806456#M284722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello all,&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I have a straight table with a few dimensions, and then an expression which I'm currently using as the last column which shows the sum of rec0rds, using "1 as recordCounter"&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Using either of the two expressions:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;SPAN style="color: #000000;"&gt;&amp;lt;=&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #808080; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;EM&gt;vEndPeriod&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;AND&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;creationDateDiff&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt; &lt;SPAN style="color: #000000;"&gt;&amp;gt;=&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="; color: #808080; font-size: 10pt;"&gt;&lt;STRONG&gt;&lt;EM&gt;vStartPeriod&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;SPAN style="color: #000000;"&gt;,&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;recordCounter&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;(&lt;SPAN style="color: #0000ff;"&gt;distinct&lt;/SPAN&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;={'&amp;lt;=$(vEndDate)'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;={'&amp;gt;=$(vStartDate)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;recordCounter&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;gives me the c0rrect total (21), shown below:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;IMG __jive_id="73113" alt="img1.png" class="image-1 jive-image" src="https://community.qlik.com/legacyfs/online/73113_img1.png" style="width: 620px; height: 137px;" /&gt;&lt;/DIV&gt;&lt;DIV&gt;However, &lt;STRONG&gt;I'd like to represent that total in a separate text object&lt;/STRONG&gt;, and when I attempt to do this, I always end up with the number 36. This is due to some duplicate rec0rds in the data which is loaded over a number of days. If I use the above set expression but without the distinct, I get this 36:&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 10pt;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;={'&amp;lt;=$(vEndDate)'},&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;={'&amp;gt;=$(vStartDate)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 10pt;"&gt;recordCounter&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;) &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;&lt;IMG __jive_id="73114" alt="img2.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/73114_img2.png" style="width: 620px; height: 139px;" /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;But if I try to use the distinct operat0r in the text object, I always end up with the value 1, no matter what combination of expressions/sum(if(xxxxx))/count(if(xxxxx)) I attempt.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;How can I display the elusive 21 in a text object? 0r perhaps looking at it another way, how does qlikview calculate the "Sum of Rows" total mode in the straight table expression?&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #000000; font-size: 10pt;"&gt;Many thanks, and excuse the use of zero instead of "o".&amp;nbsp; There's apparently a bug today that won't let you post a w0rd with o and r next to each other.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 12:52:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-sum-of-rows-from-a-chart-in-a-Text-Object/m-p/806456#M284722</guid>
      <dc:creator />
      <dc:date>2014-12-10T12:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Display sum of rows from a chart, in a Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Display-sum-of-rows-from-a-chart-in-a-Text-Object/m-p/806457#M284723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andrew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try using&lt;/P&gt;&lt;P&gt;sum( Total your expression)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 13:16:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-sum-of-rows-from-a-chart-in-a-Text-Object/m-p/806457#M284723</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2014-12-10T13:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Display sum of rows from a chart, in a Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Display-sum-of-rows-from-a-chart-in-a-Text-Object/m-p/806458#M284724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Here in this pivot table i m having the issue with the &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Performance Total it is varying .&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;It should be &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;Sum(&lt;/STRONG&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 14px; font-family: Helvetica, Arial, sans-serif; color: #666666;"&gt;&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;[Coperate SLP])*[Performance])&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Means (103*106)+(0*111)=&lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;109&lt;/STRONG&gt;.18 but its displaying as &lt;STRONG style="font-style: inherit; font-family: inherit;"&gt;111&lt;/STRONG&gt; that is the problem over here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Please Help me guys since a week i m striving to get it done but its not getting perfect.&lt;IMG alt="pivot performance total.PNG" class="image-1 jive-image" src="/legacyfs/online/73145_pivot performance total.PNG" style="max-width: 620px; height: auto;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 14:39:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-sum-of-rows-from-a-chart-in-a-Text-Object/m-p/806458#M284724</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-10T14:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Display sum of rows from a chart, in a Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Display-sum-of-rows-from-a-chart-in-a-Text-Object/m-p/806459#M284725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;this a classic case for use of aggr function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it should look something like &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;({$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;={'&amp;lt;=$(vEndDate)'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;={'&amp;gt;=$(vStartDate)'}&amp;gt;}&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;aggr(max(&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;={'&amp;lt;=$(vEndDate)'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;={'&amp;gt;=$(vStartDate)'}&amp;gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;recordCounter&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;),yourdimension1,yourdimension2))&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 14:52:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-sum-of-rows-from-a-chart-in-a-Text-Object/m-p/806459#M284725</guid>
      <dc:creator>lironbaram</dc:creator>
      <dc:date>2014-12-10T14:52:51Z</dc:date>
    </item>
    <item>
      <title>Re: Display sum of rows from a chart, in a Text Object</title>
      <link>https://community.qlik.com/t5/QlikView/Display-sum-of-rows-from-a-chart-in-a-Text-Object/m-p/806460#M284726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;Aggr(&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;sum&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-family: inherit; color: #0000ff;"&gt;distinct&lt;/SPAN&gt;{$&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;={'&amp;lt;=$(vEndDate)'},&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;dimension&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;={'&amp;gt;=$(vStartDate)'}&amp;gt;}&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;recordCounter&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;),Dimension1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to replace the Dimension1 part with a comma seperated list of the dimensions you use in your table&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 14:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Display-sum-of-rows-from-a-chart-in-a-Text-Object/m-p/806460#M284726</guid>
      <dc:creator>stigchel</dc:creator>
      <dc:date>2014-12-10T14:54:36Z</dc:date>
    </item>
  </channel>
</rss>

