<?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: Help with Expression in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803951#M1048100</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum(Pick(WildMatch(Product_Unit, 'CBM')+1, OtherUnit, CBMUnit))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Nov 2014 00:17:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-11-11T00:17:04Z</dc:date>
    <item>
      <title>Help with Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803949#M1048098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Not sure if this is possible; I am trying to create a conditional expression to sum the values based on the Product_Unit.&lt;/P&gt;&lt;P&gt;So if Product_Unit='CBM', sum CBMUnit, else sum OtherUnit.&lt;/P&gt;&lt;P&gt;Is this possible?&lt;/P&gt;&lt;P&gt;sum({$&amp;lt;Product_Unit={CBM}&amp;gt;} CMBUnit)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="223"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="95"&gt;Product_Unit&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;CBMUnit&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;" width="64"&gt;OtherUnit&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;CBM&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;CBM&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;KG&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;KG&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;KG&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;2&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Derrell&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 21:58:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803949#M1048098</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-10T21:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803950#M1048099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;try this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;sum({$&amp;lt;Product_Unit={'CBM'}&amp;gt;} CMBUnit)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 23:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803950#M1048099</guid>
      <dc:creator />
      <dc:date>2014-11-10T23:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803951#M1048100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sum(Pick(WildMatch(Product_Unit, 'CBM')+1, OtherUnit, CBMUnit))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 00:17:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803951#M1048100</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-11T00:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803952#M1048101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try this:(it happened for me and below worked)&lt;/P&gt;&lt;P&gt;=(if(Product_unit='CBM', Sum({&amp;lt;Product_unit={'CBM'}&amp;gt;} CBM_unit),Sum(Other_unit)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if not try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=(if(Product_unit='CBM', Sum({&amp;lt;Product_unit={'CBM'}&amp;gt;} Total &amp;lt;Product_unit&amp;gt; CBM_unit),Sum(Total &amp;lt;Product_unit&amp;gt; Other_unit)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chinna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 01:30:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803952#M1048101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-11-11T01:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803953#M1048102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try like this using two Sum() &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;=Sum({&amp;lt;Product_Unit={'CBM'}&amp;gt;} CMBUnit) + &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Sum&lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;({&amp;lt;Product_Unit-={'CBM'}&amp;gt;} &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OtherUnit&lt;/SPAN&gt;)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Note : The above expression is shown as syntax error near &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;-=, but it works ignore that error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Jagan.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 02:08:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803953#M1048102</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-11-11T02:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803954#M1048103</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or you can just simply give&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CBMUnit + &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OtherUnit)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;because if &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Product_Unit=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CBM you have the other Unit as 0 and vice versa.&amp;nbsp; So this also works.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 02:10:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803954#M1048103</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-11-11T02:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Expression</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803955#M1048104</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;This should be work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum(&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;CBMUnit + &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;OtherUnit)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Priyantha&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Nov 2014 03:07:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Expression/m-p/803955#M1048104</guid>
      <dc:creator />
      <dc:date>2014-11-11T03:07:23Z</dc:date>
    </item>
  </channel>
</rss>

