<?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: Passing data between two tables (after calculation) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Passing-data-between-two-tables-after-calculation/m-p/284532#M496721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DV,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer. &lt;/P&gt;&lt;P&gt;I have tried your way without success so far. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Included a QV where I show the base table, the intented outcome. &lt;/P&gt;&lt;P&gt;Based on your comment, one should be able to "read" into the initial table and group and count. &lt;/P&gt;&lt;P&gt;In my scenario, I can not use the direct way (as shown in intented outcome).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how I can tackle this issue.&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Gerard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2011 09:28:56 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-12-09T09:28:56Z</dc:date>
    <item>
      <title>Passing data between two tables (after calculation)</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-data-between-two-tables-after-calculation/m-p/284530#M496719</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;I'm looking for a way to pass data into a new table/chart based on an on-the fly calculation in another table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Assuming I have a fruit basket:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: medium none; width: 607px;"&gt;&lt;TBODY&gt;&lt;TR&gt; &lt;TD style="border: 1pt solid windowtext; padding: 0pt 5.4pt;" valign="top" width="155"&gt; &lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;FRUITS:&lt;/SPAN&gt;&lt;/P&gt; &lt;P&gt;Apple&lt;/P&gt; &lt;P&gt;Banana&lt;/P&gt; &lt;P&gt;Pear&lt;/P&gt; &lt;P&gt;Orange &lt;/P&gt; &lt;P&gt;Kiwi&lt;/P&gt; &lt;P&gt;Plum&lt;/P&gt; &lt;P&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt; &lt;TD style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; padding: 0pt 5.4pt;" valign="top" width="176"&gt; &lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;* CATEGORY&amp;nbsp; OF FRUITS:&lt;/SPAN&gt;&lt;/P&gt; &lt;P&gt;Cat 1&lt;/P&gt; &lt;P&gt;Cat 2&lt;/P&gt; &lt;P&gt;Cat 3&lt;/P&gt; &lt;P&gt;Cat 4&lt;/P&gt; &lt;P&gt;Cat 1&lt;/P&gt; &lt;P&gt;Cat 1&lt;/P&gt;&amp;nbsp; &lt;/TD&gt; &lt;TD style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; padding: 0pt 5.4pt;" valign="top" width="276"&gt; &lt;P&gt;* I will&amp;nbsp; assign a category calculated in an expression to all of them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt; &lt;P&gt;This is&amp;nbsp; for example based on price clusters:&lt;/P&gt; &lt;P&gt;if the&amp;nbsp; price is below 1 USD/per piece, then assign to Cat 1 and so on in pre-set&amp;nbsp; clusters. &lt;/P&gt; &lt;P&gt;&lt;/P&gt; &lt;P&gt;&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I would like to count and group the CATEGORY OF FRUITS to show the count in the clusters:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" cellpadding="0" cellspacing="0" style="border: medium none;"&gt;&lt;TBODY&gt;&lt;TR&gt; &lt;TD style="border: 1pt solid windowtext; padding: 0pt 5.4pt;" valign="top" width="175"&gt; &lt;P&gt;CATEGORY&amp;nbsp; OF FRUITS:&lt;/P&gt; &lt;P&gt;Cat 1&lt;/P&gt; &lt;P&gt;Cat 2&lt;/P&gt; &lt;P&gt;Cat 3&lt;/P&gt; &lt;P&gt;Cat 4&lt;/P&gt;&amp;nbsp; &lt;/TD&gt; &lt;TD style="border-width: 1pt 1pt 1pt medium; border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; padding: 0pt 5.4pt;" valign="top" width="132"&gt; &lt;P&gt;Count of&amp;nbsp; FRUITS:&lt;/P&gt; &lt;P&gt;3&lt;/P&gt; &lt;P&gt;1&lt;/P&gt; &lt;P&gt;1&lt;/P&gt; &lt;P&gt;1&lt;/P&gt;&amp;nbsp; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My issue is that when inserting the calculation from the expression (in the first table) as dimension (in the second table), I get an error message since it doesn't know the source (which fruit categories exist based on FRUITS) of the calculation. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The target solution should show the grouping and the count of the fruits in the defined cluster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there:&lt;/P&gt;&lt;P style="text-indent: -18pt; margin-left: 36pt;"&gt;A)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a way to pass the data in the first table to the second&lt;/P&gt;&lt;P style="text-indent: -18pt; margin-left: 36pt;"&gt;B)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; anyother meaningful way to solve the issue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: It is important to keep the functionality to have the calculation of the clusters in the presented way and be done on-the-fly. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Gerard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 10:13:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-data-between-two-tables-after-calculation/m-p/284530#M496719</guid>
      <dc:creator />
      <dc:date>2011-12-07T10:13:34Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between two tables (after calculation)</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-data-between-two-tables-after-calculation/m-p/284531#M496720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Hi Gerard,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Is there:&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="text-indent: -18pt;"&gt;&lt;STRONG&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;A)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; a way to pass the data in the first table to the second&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Answering this question, have you explored using Indirect Analysis? I had similar requirement in the past and I have got it working using Indirect Analysis. I am attaching a Set Analysis tutorial which contains Indirect Analysis. Using this approach you can pass the data from Table1 to Table2 on the fly and also considering the selections in Table1 (If any).&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;I hope this helps!&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt; &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: trebuchet ms,geneva;"&gt;Cheers - DV &lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Dec 2011 12:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-data-between-two-tables-after-calculation/m-p/284531#M496720</guid>
      <dc:creator>IAMDV</dc:creator>
      <dc:date>2011-12-07T12:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Passing data between two tables (after calculation)</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-data-between-two-tables-after-calculation/m-p/284532#M496721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi DV,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer. &lt;/P&gt;&lt;P&gt;I have tried your way without success so far. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Included a QV where I show the base table, the intented outcome. &lt;/P&gt;&lt;P&gt;Based on your comment, one should be able to "read" into the initial table and group and count. &lt;/P&gt;&lt;P&gt;In my scenario, I can not use the direct way (as shown in intented outcome).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas how I can tackle this issue.&lt;/P&gt;&lt;P&gt;Thanks &lt;/P&gt;&lt;P&gt;Gerard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2011 09:28:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-data-between-two-tables-after-calculation/m-p/284532#M496721</guid>
      <dc:creator />
      <dc:date>2011-12-09T09:28:56Z</dc:date>
    </item>
  </channel>
</rss>

