<?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: simple expressions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382112#M1167474</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow Sebastian suggestion. Give particular name to each expression and just use that name in the 4th expression like&lt;/P&gt;&lt;P&gt;Exp1+Exp2+EXP3. If you use Column then if you change the order it will reflect in the result of 4th expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 30 Aug 2012 12:39:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-30T12:39:54Z</dc:date>
    <item>
      <title>simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382108#M1167465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a pivot table with three expressions.&amp;nbsp; I would like to sum together the result of these three expressions into a new 4th expression.&amp;nbsp; Is there a way to pull the results from the first three into the new expression, or do i just have to replicate the first three computations inside the new expression?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A+B=C&lt;/P&gt;&lt;P&gt;X-Y=D&lt;/P&gt;&lt;P&gt;K(5)/X=M&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to learn how to write an expression C+D+M.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or is there a better way to get it into the pivot table other than an expression?&amp;nbsp; Be gentle I am just an accountant.&amp;nbsp; I see some of the questions some of you post and it looks like hieroglyphs.....and very impressive ones at that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance for any replys.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 00:08:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382108#M1167465</guid>
      <dc:creator />
      <dc:date>2012-08-30T00:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382109#M1167467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi john,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You must put a Label of each expression. Then, in fourth expression, use the names:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression1: Sum(field1)&lt;/P&gt;&lt;P&gt;Expression2: Avg(field2)&lt;/P&gt;&lt;P&gt;Expression3: Count(field3)&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Expression4: (Expression1/Expression2)+Expression3&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Remind to use exactly the same labels.&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 00:22:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382109#M1167467</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-08-30T00:22:29Z</dc:date>
    </item>
    <item>
      <title>Re: simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382110#M1167470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use column(1)+column(2)+column(3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 07:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382110#M1167470</guid>
      <dc:creator>rajni_batra</dc:creator>
      <dc:date>2012-08-30T07:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382111#M1167472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the names. If you change the expression order, you will must modify the expression4&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 11:26:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382111#M1167472</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-08-30T11:26:04Z</dc:date>
    </item>
    <item>
      <title>Re: simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382112#M1167474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi John,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Follow Sebastian suggestion. Give particular name to each expression and just use that name in the 4th expression like&lt;/P&gt;&lt;P&gt;Exp1+Exp2+EXP3. If you use Column then if you change the order it will reflect in the result of 4th expression.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 12:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382112#M1167474</guid>
      <dc:creator />
      <dc:date>2012-08-30T12:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382113#M1167475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still having difficulty (probably missing something very basic)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Expression1 label is Total Value and definition is&amp;nbsp;&amp;nbsp; Sum ([Value])&lt;/P&gt;&lt;P&gt;Expression 2 label is Overhead and definition is&amp;nbsp;&amp;nbsp; Sum ([Overhead])&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when I try to add the expression (exactly as it reads here):&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Total Value + Overhead&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; there is no result.&amp;nbsp; It does not indicate an error or bad field name, just returns a result of "-"&amp;nbsp; (the correct result should be a positive whole number).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried a simpler formulae to troubleshoot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I add the expression&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; sum ('Total Value')&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; to try to see if I could just pull in the result from just the first expression, it returns a zero. By adding quotes to the label it changed the result from a "-" to a zero, but still not the correct positive number.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 13:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382113#M1167475</guid>
      <dc:creator />
      <dc:date>2012-08-30T13:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382114#M1167476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use coloumn function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e coloumn(1)+coloumn(2)+coloumn(3)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 14:43:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382114#M1167476</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-08-30T14:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382115#M1167477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry I am not able to get that to work either.....just returns "-"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel like I am getting the syntax wrong by omitting a [ or ' or some other little thing&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 15:39:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382115#M1167477</guid>
      <dc:creator />
      <dc:date>2012-08-30T15:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382116#M1167478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example of what srikanthsri1 suggested. Using the columns expression is easiest - I can never seem to get the titles to work right but maybe that's just me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 16:07:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382116#M1167478</guid>
      <dc:creator />
      <dc:date>2012-08-30T16:07:19Z</dc:date>
    </item>
    <item>
      <title>Re: simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382117#M1167479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Success with the column expression.&amp;nbsp; I would rather use the expression labels so I don't have to change the expression if i move columns......but for now I am tired of messing with it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you VERY much for sending the test file.&amp;nbsp;&amp;nbsp; That made all the difference.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 16:32:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382117#M1167479</guid>
      <dc:creator />
      <dc:date>2012-08-30T16:32:12Z</dc:date>
    </item>
    <item>
      <title>Re: simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382118#M1167480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In first place, if your expression label has special characters (in this case, the space in Total Value), you must use []&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example: [Total Value]+[Overhead]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In second place, you can't use Sum([Total Value]), because [Total Values] is only a value, the result of the expression in this cell of the table. You only can use the label (or column()) in arithmetic operations, or with OTHER expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Example: [Total Value] + Avg(Tax)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 18:13:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382118#M1167480</guid>
      <dc:creator>sebastiandperei</dc:creator>
      <dc:date>2012-08-30T18:13:36Z</dc:date>
    </item>
    <item>
      <title>Re: simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382119#M1167481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Sebastian! That worked for me. No wonder I could never get it to work before. Here you go, Matt.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 18:17:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382119#M1167481</guid>
      <dc:creator />
      <dc:date>2012-08-30T18:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: simple expressions</title>
      <link>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382120#M1167482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ditto, that worked.&amp;nbsp;&amp;nbsp; Thank you all for being so helpful (and patient).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Aug 2012 18:40:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/simple-expressions/m-p/382120#M1167482</guid>
      <dc:creator />
      <dc:date>2012-08-30T18:40:26Z</dc:date>
    </item>
  </channel>
</rss>

