<?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 (?) table calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584113#M1115274</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, i did not tell all of it, sorry. In Column A i have several Machines, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 216px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl70" height="19" width="72"&gt;A&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="72"&gt;B&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="72"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="19" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;JAN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="57" rowspan="3" style="border-top: none;"&gt;Machine 1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;21&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;62,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="19" style="border-top: none; border-left: none;"&gt;26&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4,4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none; border-left: none;"&gt;Cons.&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;4,1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="57" rowspan="3" style="border-top: none;"&gt;Machine 2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;21&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;119,3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="19" style="border-top: none; border-left: none;"&gt;26&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6,3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none; border-left: none;"&gt;Cons.&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;6,3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="57" rowspan="3" style="border-top: none;"&gt;Machine 3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;21&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;45,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="19" style="border-top: none; border-left: none;"&gt;26&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none; border-left: none;"&gt;Cons.&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;3,6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to for example pick out the value of Cons. for JAN only for machine 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Mats&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Feb 2014 09:42:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-02-28T09:42:26Z</dc:date>
    <item>
      <title>Simple (?) table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584108#M1115269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 216px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1"&gt;A&lt;/TD&gt;&lt;TD colspan="1"&gt;B&lt;/TD&gt;&lt;TD colspan="1"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD height="19" width="72"&gt;&lt;/TD&gt;&lt;TD width="72"&gt;&lt;/TD&gt;&lt;TD class="xl63" width="72"&gt;JAN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl68" height="57" rowspan="3"&gt;Machine&lt;/TD&gt;&lt;TD class="xl64" style="border-left: none;"&gt;21&lt;/TD&gt;&lt;TD class="xl65" style="border-left: none;"&gt;62,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="19" style="border-top: none; border-left: none;"&gt;26&lt;/TD&gt;&lt;TD class="xl65" style="border-top: none; border-left: none;"&gt;4,4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl66" height="19" style="border-top: none; border-left: none;"&gt;Cons.&lt;/TD&gt;&lt;TD class="xl67" style="border-top: none; border-left: none;"&gt;4,1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a table as above and i would like to pick out the value from Cons. for JAN.&lt;/P&gt;&lt;P&gt;I have tried like this: sum(if(A='Machine' and B='Cons.',C)) but i only get 0 as result (should be 4,1).&lt;/P&gt;&lt;P&gt;What am i doing wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bets regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Mats&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:33:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584108#M1115269</guid>
      <dc:creator />
      <dc:date>2014-02-28T09:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: Simple (?) table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584109#M1115270</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 this&lt;/P&gt;&lt;P&gt;sum(if(B='cons.',C))&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584109#M1115270</guid>
      <dc:creator />
      <dc:date>2014-02-28T09:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: Simple (?) table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584110#M1115271</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 below Syntex&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ex: Only({$&amp;lt;B={"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Cons&lt;/SPAN&gt;."},A={"&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Machine 2&lt;/SPAN&gt;"}&amp;gt;}C)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:39:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584110#M1115271</guid>
      <dc:creator>kumarnatarajan</dc:creator>
      <dc:date>2014-02-28T09:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: Simple (?) table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584111#M1115272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you provide more specific table data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:39:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584111#M1115272</guid>
      <dc:creator>MK_QSL</dc:creator>
      <dc:date>2014-02-28T09:39:56Z</dc:date>
    </item>
    <item>
      <title>Re: Simple (?) table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584112#M1115273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What values have the rows 2 and 3 for A? If they are blanck or null, try &lt;EM&gt;&lt;STRONG&gt;sum(if(B='cons.',C))&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;If their value is "Machine", your expression &lt;STRONG&gt;&lt;EM&gt;sum(if(A='Machine' and B='Cons.',C))&lt;/EM&gt;&lt;/STRONG&gt; should work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:40:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584112#M1115273</guid>
      <dc:creator>luis_pimentel</dc:creator>
      <dc:date>2014-02-28T09:40:44Z</dc:date>
    </item>
    <item>
      <title>Re: Simple (?) table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584113#M1115274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, i did not tell all of it, sorry. In Column A i have several Machines, like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 216px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl70" height="19" width="72"&gt;A&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="72"&gt;B&lt;/TD&gt;&lt;TD class="xl70" style="border-left: none;" width="72"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl70" height="19" style="border-top: none;"&gt; &lt;/TD&gt;&lt;TD class="xl70" style="border-top: none; border-left: none;"&gt; &lt;/TD&gt;&lt;TD class="xl71" style="border-top: none; border-left: none;"&gt;JAN&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="57" rowspan="3" style="border-top: none;"&gt;Machine 1&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;21&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;62,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="19" style="border-top: none; border-left: none;"&gt;26&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4,4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none; border-left: none;"&gt;Cons.&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;4,1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="57" rowspan="3" style="border-top: none;"&gt;Machine 2&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;21&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;119,3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="19" style="border-top: none; border-left: none;"&gt;26&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;6,3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none; border-left: none;"&gt;Cons.&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;6,3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl69" height="57" rowspan="3" style="border-top: none;"&gt;Machine 3&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-top: none; border-left: none;"&gt;21&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;45,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="right" class="xl65" height="19" style="border-top: none; border-left: none;"&gt;26&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl67" height="19" style="border-top: none; border-left: none;"&gt;Cons.&lt;/TD&gt;&lt;TD class="xl68" style="border-top: none; border-left: none;"&gt;3,6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to for example pick out the value of Cons. for JAN only for machine 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;/Mats&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:42:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584113#M1115274</guid>
      <dc:creator />
      <dc:date>2014-02-28T09:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Simple (?) table calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584114#M1115275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all you have to create the data as shown below then you can use your expression &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;STRONG&gt;sum(if(A='Machine' and B='Cons.',C))&lt;/STRONG&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;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&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;otherwise it would not give proper results .&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;You have merged cells in Field A,&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;Qlikview do not consider merged cells as one , it evaluates them as different cells so only first cell will have value and others So you have to populate them first.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" width="241"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="113"&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A&lt;/P&gt;&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;B&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;C&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-style: inherit;"&gt;&lt;TD class="xl63" height="20" style="font-style: inherit;" width="113"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt; &lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;JAN&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-style: inherit;"&gt;&lt;TD class="xl64" height="20" style="font-style: inherit;" width="113"&gt;Machine 1&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;21&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;62,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="font-style: inherit;" width="113"&gt;Machine 1&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;26&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;4,4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="113"&gt;Machine 1&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Cons.&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;4,1&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-style: inherit;"&gt;&lt;TD class="xl64" height="20" style="font-style: inherit;" width="113"&gt;Machine 2&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;21&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;119,3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="113"&gt;Machine 3&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;26&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;6,3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="113"&gt;Machine 4&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Cons.&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;6,3&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="font-style: inherit;"&gt;&lt;TD class="xl64" height="20" style="font-style: inherit;" width="113"&gt;Machine 3&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;21&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;45,5&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="113"&gt;Machine 4&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;26&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" width="113"&gt;Machine 5&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Cons.&lt;/TD&gt;&lt;TD class="xl63" style="font-style: inherit;" width="64"&gt;3,6&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Feb 2014 09:48:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Simple-table-calculation/m-p/584114#M1115275</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-28T09:48:39Z</dc:date>
    </item>
  </channel>
</rss>

