<?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: Joining tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257067#M97164</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I fount. &lt;/P&gt;&lt;P&gt;where where [product type]&lt;STRONG&gt;&amp;lt;&amp;gt;&lt;/STRONG&gt;'A' &lt;STRONG&gt;and&lt;/STRONG&gt; [product type]&lt;STRONG&gt;&amp;lt;&amp;gt;&lt;/STRONG&gt;'B'&lt;/P&gt;&lt;P&gt;now it's looking better&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Jun 2011 11:11:34 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-01T11:11:34Z</dc:date>
    <item>
      <title>Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257064#M97161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ok, I have a question about joining some tables.&lt;/P&gt;&lt;P&gt;I have following tables.&lt;/P&gt;&lt;P&gt;fact:&lt;/P&gt;&lt;P&gt;productN, product type, orderN, customerN&lt;/P&gt;&lt;P&gt;321654, A, 50, 132&lt;/P&gt;&lt;P&gt;987654, B, 20, 423&lt;/P&gt;&lt;P&gt;654987, C, 13, 512&lt;/P&gt;&lt;P&gt;so on. I have 2 tables contains information for product A B and others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type_AB:&lt;/P&gt;&lt;P&gt;orderN, information&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;type_other:&lt;/P&gt;&lt;P&gt;customerN, information &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how do I join them? Feel free for any suggest.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Muncho&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 09:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257064#M97161</guid>
      <dc:creator />
      <dc:date>2011-06-01T09:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257065#M97162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, now im doing like this.&lt;/P&gt;&lt;P&gt;Separate my fact table to 2 table for product types&lt;/P&gt;&lt;P&gt;product_ab:&lt;/P&gt;&lt;P&gt;load * resident fact&lt;/P&gt;&lt;P&gt;where [product type]='A' or [product type]='B'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;product_other:&lt;/P&gt;&lt;P&gt;load * resident fact&lt;/P&gt;&lt;P&gt;where not [product type]='A' or [product type]='B'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i joined my information tables for seperated fact tables. And concatenate them to build my fact table.&lt;/P&gt;&lt;P&gt;But after all i got some duplicated rows.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggest?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 09:36:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257065#M97162</guid>
      <dc:creator />
      <dc:date>2011-06-01T09:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257066#M97163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that where not is not working right. in product_other table there is product B inside.&lt;/P&gt;&lt;P&gt;so where not [product type]='A' or [product type]='B' is wrong.&lt;/P&gt;&lt;P&gt;Anyone pls correct this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 11:07:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257066#M97163</guid>
      <dc:creator />
      <dc:date>2011-06-01T11:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257067#M97164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, I fount. &lt;/P&gt;&lt;P&gt;where where [product type]&lt;STRONG&gt;&amp;lt;&amp;gt;&lt;/STRONG&gt;'A' &lt;STRONG&gt;and&lt;/STRONG&gt; [product type]&lt;STRONG&gt;&amp;lt;&amp;gt;&lt;/STRONG&gt;'B'&lt;/P&gt;&lt;P&gt;now it's looking better&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 11:11:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257067#M97164</guid>
      <dc:creator />
      <dc:date>2011-06-01T11:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257068#M97165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where not ([product type] = 'A' or [product type] = 'B')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where not([product type] = 'A' and not([product type] = 'B')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 11:13:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257068#M97165</guid>
      <dc:creator>nagaiank</dc:creator>
      <dc:date>2011-06-01T11:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257069#M97166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks krishna.&lt;/P&gt;&lt;P&gt;where clause working fine now. &lt;/P&gt;&lt;P&gt;Let's back to business, Is there any better solution of how to join them?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 11:22:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257069#M97166</guid>
      <dc:creator />
      <dc:date>2011-06-01T11:22:44Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257070#M97167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Muncho&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your expected end result. What you've described so far is very confusing.&lt;/P&gt;&lt;P&gt;/Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 11:28:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257070#M97167</guid>
      <dc:creator />
      <dc:date>2011-06-01T11:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257071#M97168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Max, &lt;/P&gt;&lt;P&gt;Isn't that obvious in my first post? if not, i'm really sorry about my bad English.&lt;/P&gt;&lt;P&gt;It is not real data. It's just sample.&lt;/P&gt;&lt;P&gt;i have a fact table. And i wanna join information table.&lt;/P&gt;&lt;P&gt;This type_AB table is for where product type A and B, key field is orderN.&lt;/P&gt;&lt;P&gt;Type_other table is for where product type&amp;lt;&amp;gt; A and B, key field is customerN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My second post is what i'm trying to do this. And i gor problem with where clause bla bla bla...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just wanna know is there better solution how to join them? That's all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 11:42:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257071#M97168</guid>
      <dc:creator />
      <dc:date>2011-06-01T11:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257072#M97169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why would you need to make separate loads of your facts table? &lt;/P&gt;&lt;P&gt;Can you maybe post a sample QVW instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 13:14:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257072#M97169</guid>
      <dc:creator />
      <dc:date>2011-06-01T13:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257073#M97170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sort of new in QV and separating fact table is just my idea. &lt;/P&gt;&lt;P&gt;If you have better idea then feel free to post.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 13:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257073#M97170</guid>
      <dc:creator />
      <dc:date>2011-06-01T13:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257074#M97171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As I don't know the purpose It's very hard to help out. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let me get this straight - You need to join two information tables to your facts table. Your keys are orderN and customerN. Do you also need product type in the key?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 13:42:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257074#M97171</guid>
      <dc:creator />
      <dc:date>2011-06-01T13:42:03Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257075#M97172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i have 2 information table. first information table have orderN key field and it should join where product type A and B in fact table. Second table should join where &lt;STRONG&gt;not&lt;/STRONG&gt; product type A and B. key is customerN.&lt;/P&gt;&lt;P&gt;Hope you got it know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 13:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257075#M97172</guid>
      <dc:creator />
      <dc:date>2011-06-01T13:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257076#M97173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Muncho,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I undestand what your are trying to do :&lt;/P&gt;&lt;P&gt;- Rename in your fact table orderN and customerN (example orderN_origin and customerN_origin) ;&lt;/P&gt;&lt;P&gt;- Add in fact a calculated column named orderN as : if(match([product type],'A','B')&amp;gt;0,orderN_origin) ;&lt;/P&gt;&lt;P&gt;- Add in fact a calculated column named customerN as : if(match([product type],'A','B')=0,customerN_origin) ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will obtain&amp;nbsp; &lt;/P&gt;&lt;P&gt;productN, product type, orderN, customerN, orderN_origin, customerN_origin&lt;/P&gt;&lt;P&gt;321654, A, 50,&amp;nbsp;&amp;nbsp;&amp;nbsp; , 50, 132&lt;/P&gt;&lt;P&gt;987654, B, 20,&amp;nbsp;&amp;nbsp;&amp;nbsp; , 20, 423&lt;/P&gt;&lt;P&gt;654987, C,&amp;nbsp;&amp;nbsp;&amp;nbsp; , 13, 13 , 512&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then you can join your tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Vincent&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 14:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257076#M97173</guid>
      <dc:creator>vincent_ardiet</dc:creator>
      <dc:date>2011-06-01T14:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257077#M97174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vincent,&lt;/P&gt;&lt;P&gt;Ok. I got your your idea.&lt;/P&gt;&lt;P&gt;Thank you very much ^^&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Jun 2011 14:54:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257077#M97174</guid>
      <dc:creator />
      <dc:date>2011-06-01T14:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Joining tables</title>
      <link>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257078#M97175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See if this sample can help you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jun 2011 01:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Joining-tables/m-p/257078#M97175</guid>
      <dc:creator />
      <dc:date>2011-06-02T01:24:14Z</dc:date>
    </item>
  </channel>
</rss>

