<?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 a new tempary table form 3 tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599151#M683682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I would still try to do this in the front end, otherwise you are limited by your dimensions that you have pre-calculated across.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What was your expression in the pivot and do you know why it did not work?&lt;/P&gt;&lt;P&gt;It would use a combination of count and aggr...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Feb 2014 11:24:20 GMT</pubDate>
    <dc:creator>juleshartley</dc:creator>
    <dc:date>2014-02-03T11:24:20Z</dc:date>
    <item>
      <title>Create a new tempary table form 3 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599144#M683675</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;Please help me for creating the new table from the 2 or 3 tables for the Calculation in the Pivot table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to Sum the Score Area wise in the pivot table&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="220" style="font-size: 10pt; line-height: 1.5em; border: 1px solid #000000; width: 783px; height: 205px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;TABLE 1&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;TABLE 2&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Header 3&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Customer&lt;/TD&gt;&lt;TD&gt;Customer&lt;/TD&gt;&lt;TD&gt;Customer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Type&lt;/TD&gt;&lt;TD&gt;Target Quantity&lt;/TD&gt;&lt;TD&gt;Outstanding amount&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Quantity&lt;/TD&gt;&lt;TD&gt;Month&lt;/TD&gt;&lt;TD&gt;other feilds&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Area&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Invoice Amount&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Invoice Date&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;many more feilds&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;New table in script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Temp Table&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;TEMP TABLE&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Customer&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Actual Quantity (Total Quantity)&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Target&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Score&amp;nbsp;&amp;nbsp;&amp;nbsp; (... in this field the Condition (if(Actual Quantity/ Target)&amp;gt;=0.80,1,0)....)&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example 2:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 08:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599144#M683675</guid>
      <dc:creator>tabisen1</dc:creator>
      <dc:date>2014-02-03T08:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new tempary table form 3 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599145#M683676</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Type,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Quantity&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Table1.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Table1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table2:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Customer,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Target Quantity],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Month&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[Table2.xlsx]&lt;/P&gt;&lt;P&gt;(ooxml, embedded labels, table is Table2);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempTable:&lt;/P&gt;&lt;P&gt;Left Join(Table1)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;Resident Table2;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NoConcatenate&lt;/P&gt;&lt;P&gt;FinalTable:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (Quantity - [TargetQuantity] &amp;gt;= 0.8, 1, 0) as Score,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *&lt;/P&gt;&lt;P&gt;Resident TempTable;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Drop Tables Table1,Table2,TempTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 08:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599145#M683676</guid>
      <dc:creator>luis_pimentel</dc:creator>
      <dc:date>2014-02-03T08:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new tempary table form 3 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599146#M683677</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This script is not working the result is synthetic key error accouters. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 09:02:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599146#M683677</guid>
      <dc:creator>tabisen1</dc:creator>
      <dc:date>2014-02-03T09:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new tempary table form 3 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599147#M683678</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can any one help me to solve this issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 10:19:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599147#M683678</guid>
      <dc:creator>tabisen1</dc:creator>
      <dc:date>2014-02-03T10:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new tempary table form 3 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599148#M683679</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not sure I totally understand your problem. Could you explain more?&lt;/P&gt;&lt;P&gt;Why can you not do this in the pivot table expression rather than building a new table in the script?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 10:34:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599148#M683679</guid>
      <dc:creator>juleshartley</dc:creator>
      <dc:date>2014-02-03T10:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new tempary table form 3 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599149#M683680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Dear Julian,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried in the pivot table but i am not getting what i want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to total numer of customer who achievement is more than 80% in a particular Area&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 10:41:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599149#M683680</guid>
      <dc:creator>tabisen1</dc:creator>
      <dc:date>2014-02-03T10:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new tempary table form 3 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599150#M683681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Without joining the two tables, in the pivot table you just need an expression like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if (sum(Quantity) - [TargetQuantity] &amp;gt;= 0.8, 1, 0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Depending if Quantity and TargetQuantity are unique values or not (depending on month...) you will need to change the expressión (&amp;nbsp;&amp;nbsp; sum(TargetQuantity) instead of just TargetQuantity&amp;nbsp;&amp;nbsp;&amp;nbsp; )&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 11:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599150#M683681</guid>
      <dc:creator>luis_pimentel</dc:creator>
      <dc:date>2014-02-03T11:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new tempary table form 3 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599151#M683682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I would still try to do this in the front end, otherwise you are limited by your dimensions that you have pre-calculated across.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What was your expression in the pivot and do you know why it did not work?&lt;/P&gt;&lt;P&gt;It would use a combination of count and aggr...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 11:24:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599151#M683682</guid>
      <dc:creator>juleshartley</dc:creator>
      <dc:date>2014-02-03T11:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new tempary table form 3 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599152#M683683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Luis,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried this expression it is still not working &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 12:11:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599152#M683683</guid>
      <dc:creator>tabisen1</dc:creator>
      <dc:date>2014-02-03T12:11:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create a new tempary table form 3 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599153#M683684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you please share the script where you load table1 and table2? And a sample of the information stored on those tables would be useful too.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 12:16:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599153#M683684</guid>
      <dc:creator>luis_pimentel</dc:creator>
      <dc:date>2014-02-03T12:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Create a new tempary table form 3 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599154#M683685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 12:45:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599154#M683685</guid>
      <dc:creator>tabisen1</dc:creator>
      <dc:date>2014-02-03T12:45:10Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Re: Create a new tempary table form 3 tables</title>
      <link>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599155#M683686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tarun, Use Rangesum in the &lt;STRONG&gt;Sum of Score&lt;/STRONG&gt; column&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Feb 2014 13:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-a-new-tempary-table-form-3-tables/m-p/599155#M683686</guid>
      <dc:creator />
      <dc:date>2014-02-03T13:38:24Z</dc:date>
    </item>
  </channel>
</rss>

