<?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: table with different row formulas in column in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/table-with-different-row-formulas-in-column/m-p/343661#M126891</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;Try the below expression's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp 1:&lt;/P&gt;&lt;P&gt;IF(Order=1, sum(a), IF( Order = 2,sum(b)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp 2:&lt;/P&gt;&lt;P&gt;IF(Order=1, sum(a),sum(b))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Desmortes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Aug 2012 16:06:05 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-08-11T16:06:05Z</dc:date>
    <item>
      <title>table with different row formulas in column</title>
      <link>https://community.qlik.com/t5/QlikView/table-with-different-row-formulas-in-column/m-p/343660#M126890</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;need to show an excel like table where I have some items in rows that require different formulas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 20%; border: 1px solid #000000;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Order&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Label&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;TH align="center" style="background-color: #6690bc;" valign="middle"&gt;&lt;SPAN style="color: #ffffff;"&gt;&lt;STRONG&gt;Value&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;KPI1&lt;/TD&gt;&lt;TD&gt;sum(a)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;2&lt;/TD&gt;&lt;TD&gt;KPI2&lt;/TD&gt;&lt;TD&gt;sum(b)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&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;I have experimented with conditional expressions in a straight table like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dimension = Label&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expression 1: =sum(a) with condition Order=1&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expression 2: =sum(b) with condition Order=2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and using pick&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expression 1: =pick(Order, sum(a), sum(b)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but both methods did not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Juerg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Aug 2012 05:54:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-with-different-row-formulas-in-column/m-p/343660#M126890</guid>
      <dc:creator />
      <dc:date>2012-08-08T05:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: table with different row formulas in column</title>
      <link>https://community.qlik.com/t5/QlikView/table-with-different-row-formulas-in-column/m-p/343661#M126891</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;Try the below expression's:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp 1:&lt;/P&gt;&lt;P&gt;IF(Order=1, sum(a), IF( Order = 2,sum(b)))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exp 2:&lt;/P&gt;&lt;P&gt;IF(Order=1, sum(a),sum(b))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Desmortes&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Aug 2012 16:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-with-different-row-formulas-in-column/m-p/343661#M126891</guid>
      <dc:creator />
      <dc:date>2012-08-11T16:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: table with different row formulas in column</title>
      <link>https://community.qlik.com/t5/QlikView/table-with-different-row-formulas-in-column/m-p/343662#M126892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The evaluation of Order seems not to happen on the row level. therefore the formula works only if a single Order value is selected?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Aug 2012 05:45:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/table-with-different-row-formulas-in-column/m-p/343662#M126892</guid>
      <dc:creator />
      <dc:date>2012-08-13T05:45:48Z</dc:date>
    </item>
  </channel>
</rss>

