<?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: create 2 calculated fields in the cloud from this table. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/create-2-calculated-fields-in-the-cloud-from-this-table/m-p/865742#M302888</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer. But in my situation, "above" should come from extraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, if any month selection in the table object, the expression will not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 May 2015 16:23:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-04T16:23:23Z</dc:date>
    <item>
      <title>create 2 calculated fields in the cloud from this table.</title>
      <link>https://community.qlik.com/t5/QlikView/create-2-calculated-fields-in-the-cloud-from-this-table/m-p/865740#M302886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello, my name is Daniel, I have some questions about a calculated field in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an .xls file that has the following information:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;company year month and value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And I need to create 2 calculated fields in the cloud from this table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's how the table should be on a dynamic object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#575757&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;arial,helvetica,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="width: 724px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;company&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;year&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;month&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;value&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;value2(calculated)&lt;/TH&gt;&lt;TH style="color: #ffffff; text-align: center; padding: 2px; background-color: #6690bc;"&gt;value3(calculated)&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;dtt&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl64" style="border-top: none; border-left: none;"&gt;&lt;SPAN style="text-align: -webkit-center;"&gt;Jan&lt;/SPAN&gt;&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; =before value(Year&amp;amp;Month)&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; =before value(Year&amp;amp;Month) - actual value &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;dtt&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Feb&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; = 10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; = 10 - 20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;dtt&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Mar&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; = 20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; = 20 - 10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;dtt&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Apr&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;20&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; = 10&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; = 10 - 20&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;dtt&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;May&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;30&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; = 20&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; = 20 - 30&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;dtt&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Jun&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;40&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt; = 30&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt; = 30 - 40&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;dtt&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Jul&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;0&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;...&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;dtt&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Ago&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;10&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;...&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;dtt&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Sep&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;23&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;...&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;dtt&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Oct&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;34&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;...&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;dtt&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Nov&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;5&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;...&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl65" height="20" style="border-top: none;"&gt;dtt&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2000&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;Dec&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;12&lt;/TD&gt;&lt;TD class="xl63" style="border-top: none; border-left: none;"&gt;...&lt;/TD&gt;&lt;TD class="xl66" style="border-top: none; border-left: none;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will be grateful in support of this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2015 22:14:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-2-calculated-fields-in-the-cloud-from-this-table/m-p/865740#M302886</guid>
      <dc:creator />
      <dc:date>2015-05-02T22:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: create 2 calculated fields in the cloud from this table.</title>
      <link>https://community.qlik.com/t5/QlikView/create-2-calculated-fields-in-the-cloud-from-this-table/m-p/865741#M302887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a Chart - Straight Table like this and create three expressions like you see below - I have also attached the demo QlikView Application so you can inspect the solution yourself:&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="85537" alt="2015-05-03 #2.PNG" class="jive-image image-1" src="/legacyfs/online/85537_2015-05-03 #2.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Above()-function is the one that serves your purpose in this case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The last three column headers have a copy of the expressions for the columns in them. As is the default if you don't override it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 02 May 2015 23:14:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-2-calculated-fields-in-the-cloud-from-this-table/m-p/865741#M302887</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-05-02T23:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: create 2 calculated fields in the cloud from this table.</title>
      <link>https://community.qlik.com/t5/QlikView/create-2-calculated-fields-in-the-cloud-from-this-table/m-p/865742#M302888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your answer. But in my situation, "above" should come from extraction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case, if any month selection in the table object, the expression will not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 16:23:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-2-calculated-fields-in-the-cloud-from-this-table/m-p/865742#M302888</guid>
      <dc:creator />
      <dc:date>2015-05-04T16:23:23Z</dc:date>
    </item>
    <item>
      <title>Re: create 2 calculated fields in the cloud from this table.</title>
      <link>https://community.qlik.com/t5/QlikView/create-2-calculated-fields-in-the-cloud-from-this-table/m-p/865743#M302889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That can be achieved like this - also see the updated attachment with the updated load script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2015-05-04 #1.PNG" class="jive-image image-1" src="/legacyfs/online/85610_2015-05-04 #1.PNG" style="height: 448px; width: 620px;" /&gt; !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 May 2015 16:38:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/create-2-calculated-fields-in-the-cloud-from-this-table/m-p/865743#M302889</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-05-04T16:38:29Z</dc:date>
    </item>
  </channel>
</rss>

