<?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: Add values from two different columns in expression in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Add-values-from-two-different-columns-in-expression/m-p/1236660#M24417</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add same expression in script and name the field, u can take the sum in measure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Jan 2017 09:35:20 GMT</pubDate>
    <dc:creator>vinay_hg</dc:creator>
    <dc:date>2017-01-12T09:35:20Z</dc:date>
    <item>
      <title>Add values from two different columns in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Add-values-from-two-different-columns-in-expression/m-p/1236659#M24416</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 need to create a dimension using expression. &lt;/P&gt;&lt;P&gt;Below is part of my condition,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;if([Premise Type]='03' or [Premise Type]='04' or [Premise Type]='05' or [Premise Type]='EE', if(Matched = 1, &lt;STRONG&gt;(Value1+Value2)&lt;/STRONG&gt;, Value2), 0)) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;I need to have the sum of Value1 and Value2, they are two data fields(columns). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What is the expression syntax to add them up?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 09:23:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-values-from-two-different-columns-in-expression/m-p/1236659#M24416</guid>
      <dc:creator>wenjun2016</dc:creator>
      <dc:date>2017-01-12T09:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Add values from two different columns in expression</title>
      <link>https://community.qlik.com/t5/App-Development/Add-values-from-two-different-columns-in-expression/m-p/1236660#M24417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;add same expression in script and name the field, u can take the sum in measure&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 09:35:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-values-from-two-different-columns-in-expression/m-p/1236660#M24417</guid>
      <dc:creator>vinay_hg</dc:creator>
      <dc:date>2017-01-12T09:35:20Z</dc:date>
    </item>
  </channel>
</rss>

