<?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 Combine fields in all possible ways in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Combine-fields-in-all-possible-ways/m-p/647701#M675848</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, I'm new to QlikView and I've encountered some difficulties. I have my tables and I have a variable (let's call in var3) that gets updated based on other 2 variables(var1 and var2). These two, var1 and var2 (these variables are numbers), get their values after two selections from two fields(let&amp;nbsp; and var3 is simply the multiplication of these two variables ( var1 and var2). &lt;/P&gt;&lt;P&gt;What I am trying to do is to create a list, a table, whatever, with all the possible values for var3. (this actually means that I need some kind of script that would take all the possibilities of choices from f1 and f2 and calculate var3 and then save all the possible values of var3 in a table/list/whatever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, I hope I explained myself well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I have the free version, so it would be great if you could explain me by writing for I cannot open files created by other users.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 10 Jul 2014 08:21:27 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-07-10T08:21:27Z</dc:date>
    <item>
      <title>Combine fields in all possible ways</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-fields-in-all-possible-ways/m-p/647701#M675848</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, I'm new to QlikView and I've encountered some difficulties. I have my tables and I have a variable (let's call in var3) that gets updated based on other 2 variables(var1 and var2). These two, var1 and var2 (these variables are numbers), get their values after two selections from two fields(let&amp;nbsp; and var3 is simply the multiplication of these two variables ( var1 and var2). &lt;/P&gt;&lt;P&gt;What I am trying to do is to create a list, a table, whatever, with all the possible values for var3. (this actually means that I need some kind of script that would take all the possibilities of choices from f1 and f2 and calculate var3 and then save all the possible values of var3 in a table/list/whatever.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you, I hope I explained myself well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: I have the free version, so it would be great if you could explain me by writing for I cannot open files created by other users.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 08:21:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-fields-in-all-possible-ways/m-p/647701#M675848</guid>
      <dc:creator />
      <dc:date>2014-07-10T08:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Combine fields in all possible ways</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-fields-in-all-possible-ways/m-p/647702#M675849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please don't create more than one discussion for the same question: &lt;A href="https://community.qlik.com/thread/125027"&gt;Create table with all possible values of a variable&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 09:15:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-fields-in-all-possible-ways/m-p/647702#M675849</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-07-10T09:15:11Z</dc:date>
    </item>
    <item>
      <title>Re: Combine fields in all possible ways</title>
      <link>https://community.qlik.com/t5/QlikView/Combine-fields-in-all-possible-ways/m-p/647703#M675850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Adrian,&lt;/P&gt;&lt;P&gt;What you need is an outer join of distinct values of Var1 and Var2..&lt;/P&gt;&lt;P&gt;Follow the steps below:&lt;/P&gt;&lt;P&gt;1. Write the code as below-&lt;/P&gt;&lt;P&gt;Comb_table:&lt;/P&gt;&lt;P&gt;Load distinct Var1, 1 as flag&lt;/P&gt;&lt;P&gt;&amp;nbsp; resident Table1;&lt;BR /&gt;Outer Join (Comb_table);&lt;/P&gt;&lt;P&gt;Load distinct Var2, 1 as flag&lt;/P&gt;&lt;P&gt;resident Table2;&lt;/P&gt;&lt;P&gt;2. Now your table Comb_table will have all the combinations of var1 and var2, Create a III field from this table like thebelow:&lt;/P&gt;&lt;P&gt;Load * , Var1*Var2 as Var3&lt;/P&gt;&lt;P&gt;resident Comb_table;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jul 2014 09:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Combine-fields-in-all-possible-ways/m-p/647703#M675850</guid>
      <dc:creator>gopalopsharma</dc:creator>
      <dc:date>2014-07-10T09:35:17Z</dc:date>
    </item>
  </channel>
</rss>

