<?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: Summing up values from different text objects? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Summing-up-values-from-different-text-objects/m-p/546265#M483363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did manually add all variables in the variable manager now. Works like a charm. Thank You!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jul 2013 15:56:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-07-08T15:56:42Z</dc:date>
    <item>
      <title>Summing up values from different text objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-up-values-from-different-text-objects/m-p/546261#M483359</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a couple of text objects that show how many times different issues show up in the data. Each of those objects has a quite complex count-if expression behind them and outputs one single number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextObject1: shows how many times x exists&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextObject2: shows how many times y exists&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextObject3: shows how many times z exists&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Now I want to have one 'total' text object that sums up what the other text objects show.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Basically&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TextObject4: =TextObject1 + TextObject2 + TextObject3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure, the simplest way would be to repeat all expressions in the fourth object but this would become a very large expression that has to be changed everytime the expression for one of the former objects changes. I'd rather just sum up the former objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that possible? I can't seem to find how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 20:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-up-values-from-different-text-objects/m-p/546261#M483359</guid>
      <dc:creator />
      <dc:date>2013-07-05T20:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Summing up values from different text objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-up-values-from-different-text-objects/m-p/546262#M483360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use variables. Each object will use one variable and you can make vTOTAL = vOBJ1 + vOBJ2 + vOBJ3&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 21:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-up-values-from-different-text-objects/m-p/546262#M483360</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2013-07-05T21:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: Summing up values from different text objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-up-values-from-different-text-objects/m-p/546263#M483361</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That sounds like a good idea, I like the idea to have all the expression in one place instead of in many different objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I just tried to get one of the formulas into the script and although the script doesn't produce an error, the variable doesn't show up.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I added something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let TestVar1 = count(if(Status=1,LineID));&lt;/P&gt;&lt;P&gt;let TestVar2 = 1234;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The TestVar1 expression works like a charm if I have it as expressioin in the text Object. If I run the script with the above code, TestVar1 does not show up in my list of variables. So I added the line for TestVar2, just to see if the script may stop somewhere before but it doesn't. TestVar2 shows up, just not TestVar1. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again there is no error message, there are no red squiggly lines under my code - in fact the editor correctly color codes all parts of the expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jul 2013 21:53:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-up-values-from-different-text-objects/m-p/546263#M483361</guid>
      <dc:creator />
      <dc:date>2013-07-05T21:53:27Z</dc:date>
    </item>
    <item>
      <title>Re: Summing up values from different text objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-up-values-from-different-text-objects/m-p/546264#M483362</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To manage your variables in the interface use Settings -&amp;gt; Variables Overview&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Jul 2013 05:54:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-up-values-from-different-text-objects/m-p/546264#M483362</guid>
      <dc:creator>luciancotea</dc:creator>
      <dc:date>2013-07-06T05:54:22Z</dc:date>
    </item>
    <item>
      <title>Re: Summing up values from different text objects?</title>
      <link>https://community.qlik.com/t5/QlikView/Summing-up-values-from-different-text-objects/m-p/546265#M483363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did manually add all variables in the variable manager now. Works like a charm. Thank You!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jul 2013 15:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Summing-up-values-from-different-text-objects/m-p/546265#M483363</guid>
      <dc:creator />
      <dc:date>2013-07-08T15:56:42Z</dc:date>
    </item>
  </channel>
</rss>

