<?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 creating a fact, need some help :) in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/creating-a-fact-need-some-help/m-p/247924#M94416</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #333333; font-family: 'Arial','sans-serif';"&gt;Hi Vinny&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #333333; font-family: 'Arial','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #333333; font-family: 'Arial','sans-serif';"&gt;First you need to have some fields in common on your tables... So that they could get related.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #333333; font-family: 'Arial','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: yellow;"&gt;Example&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You have some sales &lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;OrderID,&lt;/P&gt;&lt;P&gt;ProductID,&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;From …….&lt;/P&gt;&lt;P&gt;Notice that I have ID´s so that they could get related with a Product table&lt;/P&gt;&lt;P&gt;Products:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ProductID,&lt;/P&gt;&lt;P&gt;Product,&lt;/P&gt;&lt;P&gt;Product_Desc&lt;/P&gt;&lt;P&gt;From . . . . . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you need to identify those keys and put them the same name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 14 Oct 2011 16:25:44 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-10-14T16:25:44Z</dc:date>
    <item>
      <title>creating a fact, need some help :)</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-fact-need-some-help/m-p/247923#M94415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;well my question is the following:&lt;/P&gt;&lt;P&gt;I have muttile dimensions.. four in total. These dimensions have to create a new table (fact) My problem is, that I don't know how to connect these dimentions, because they are from 2 different databases and 1 is from a tekst file (.csv)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If you want to help me and need anny of the files, you can contact me on &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:vgroenheijde@gmail.com"&gt;vgroenheijde@gmail.com&lt;/A&gt;&lt;SPAN&gt; thanks in advance!!!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here is my query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep=',';&lt;/P&gt;&lt;P&gt;SET DecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='$#,##0.00;($#,##0.00)';&lt;/P&gt;&lt;P&gt;SET TimeFormat='h:mm:ss TT';&lt;/P&gt;&lt;P&gt;SET DateFormat='M/D/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='M/D/YYYY h:mm:ss[.fff] TT';&lt;/P&gt;&lt;P&gt;SET MonthNames='Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec';&lt;/P&gt;&lt;P&gt;SET DayNames='Mon;Tue;Wed;Thu;Fri;Sat;Sun';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO [MS Access Database;DBQ=C:\Users\Vincent\Desktop\DH-BI-5\QlikviewData\Qlikview\BI5data\GO\GO_SALES\go_sales.accdb];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Product:&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;p.PRODUCT_NAME as product_name,&lt;/P&gt;&lt;P&gt;p.PRODUCT_NUMBER as product_number,&lt;/P&gt;&lt;P&gt;t.PRODUCT_TYPE_EN as product_type_name,&lt;/P&gt;&lt;P&gt;l.PRODUCT_LINE_EN as product_line_name&lt;/P&gt;&lt;P&gt;FROM (product p&lt;/P&gt;&lt;P&gt;Inner Join product_type t on p.product_type_code = t.product_type_code)&lt;/P&gt;&lt;P&gt;Inner Join product_line l on t.product_line_code = l.product_line_code;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Salesstaff:&lt;/P&gt;&lt;P&gt;SQL SELECT &lt;/P&gt;&lt;P&gt;&amp;nbsp; LAST_NAME,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; POSITION_EN as position_name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SALES_BRANCH_CODE,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SALES_STAFF_CODE&lt;/P&gt;&lt;P&gt;FROM sales_staff;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Year:&lt;/P&gt;&lt;P&gt;Directory;&lt;/P&gt;&lt;P&gt;LOAD YEAR as year_nr&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\..\..\Desktop\DH-BI-5\QlikviewData\Qlikview\BI5data\GO\GO_SALES\GO_SALES_PRODUCT_FORECASTData.csv]&lt;/P&gt;&lt;P&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ODBC CONNECT32 TO [MS Access Database;DBQ=C:\Users\Vincent\Desktop\DH-BI-5\QlikviewData\Qlikview\BI5data\GO\GO_CRM\go_crm.accdb];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Retailer:&lt;/P&gt;&lt;P&gt;SQL SELECT&lt;/P&gt;&lt;P&gt;s.RETAILER_SITE_CODE as retailer_site_code,&lt;/P&gt;&lt;P&gt;s.CITY as city,&lt;/P&gt;&lt;P&gt;r.RETAILER_CODE as retailer_code,&lt;/P&gt;&lt;P&gt;r.COMPANY_NAME as company,&lt;/P&gt;&lt;P&gt;t.RETAILER_TYPE_CODE as retailer_type_code&lt;/P&gt;&lt;P&gt;FROM (retailer_site s&lt;/P&gt;&lt;P&gt;Inner Join retailer r on s.retailer_code = r.retailer_code)&lt;/P&gt;&lt;P&gt;Inner Join retailer_type t on r.retailer_type_code = t.retailer_type_code;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2011 23:51:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-fact-need-some-help/m-p/247923#M94415</guid>
      <dc:creator />
      <dc:date>2011-10-13T23:51:29Z</dc:date>
    </item>
    <item>
      <title>creating a fact, need some help :)</title>
      <link>https://community.qlik.com/t5/QlikView/creating-a-fact-need-some-help/m-p/247924#M94416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #333333; font-family: 'Arial','sans-serif';"&gt;Hi Vinny&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #333333; font-family: 'Arial','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #333333; font-family: 'Arial','sans-serif';"&gt;First you need to have some fields in common on your tables... So that they could get related.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; color: #333333; font-family: 'Arial','sans-serif';"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: yellow;"&gt;Example&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;You have some sales &lt;/P&gt;&lt;P&gt;Sales:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;OrderID,&lt;/P&gt;&lt;P&gt;ProductID,&lt;/P&gt;&lt;P&gt;Sales&lt;/P&gt;&lt;P&gt;From …….&lt;/P&gt;&lt;P&gt;Notice that I have ID´s so that they could get related with a Product table&lt;/P&gt;&lt;P&gt;Products:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;ProductID,&lt;/P&gt;&lt;P&gt;Product,&lt;/P&gt;&lt;P&gt;Product_Desc&lt;/P&gt;&lt;P&gt;From . . . . . .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you need to identify those keys and put them the same name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Oct 2011 16:25:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/creating-a-fact-need-some-help/m-p/247924#M94416</guid>
      <dc:creator />
      <dc:date>2011-10-14T16:25:44Z</dc:date>
    </item>
  </channel>
</rss>

