<?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: Creating facts and dimensions from multiple files in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53642#M774441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aamijit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case if you put some effort and identify the dimension and fact then with in the files , then you can go for a star schema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Multiple dimension tables (like emp, product etc) mapped to a fact table (Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 May 2018 11:03:38 GMT</pubDate>
    <dc:creator>jyothish8807</dc:creator>
    <dc:date>2018-05-04T11:03:38Z</dc:date>
    <item>
      <title>Creating facts and dimensions from multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53636#M774432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have multiple Files with 20-25 fields (both key and dim) in each of the files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on building the data model now.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now, I am thinking to pull key field from all the files store them in different tables say Fact 1, Fact 2 etc and then concatenate to form 1 fact table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Similarly I am planning to do the same for Dim Tables. Pull all the Dim fields from all the files, store them in different tables say Dim1 , Dim 2 etc and then concatenate and form a single Dim table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to know from the experts here that how this approach would be and if there is any other way to build the best data model then please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/163807" target="_blank"&gt;andre.moreira&lt;/A&gt;‌ &lt;A href="https://community.qlik.com/qlik-users/171708" target="_blank"&gt;stalwar1&lt;/A&gt;‌ &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53636#M774432</guid>
      <dc:creator>amijit_hazarika</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating facts and dimensions from multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53637#M774433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One other option to consider is to simply load and concatenate the files without any transformation. For most analysis, this will work properly, and it certainly simpler &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 08:44:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53637#M774433</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-05-04T08:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: Creating facts and dimensions from multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53638#M774434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jonathan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you mean to concatenate all the files and form a single table and not 2 different dim and fact tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 08:47:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53638#M774434</guid>
      <dc:creator>amijit_hazarika</dc:creator>
      <dc:date>2018-05-04T08:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: Creating facts and dimensions from multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53639#M774435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Amijit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your all files are in same format and have same fields, then you can simply concatenate then all together and make one master table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 08:53:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53639#M774435</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2018-05-04T08:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Creating facts and dimensions from multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53640#M774437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi KC,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All the files are in same format but not fields are same. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 09:27:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53640#M774437</guid>
      <dc:creator>amijit_hazarika</dc:creator>
      <dc:date>2018-05-04T09:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating facts and dimensions from multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53641#M774439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Hope so it will help you.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;E.g.&amp;nbsp; Like&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Create One fact Table Assign Some Flag to each table as Doctype n Concatenate that tables.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;So it will show one fact table one Master Calender as Dimension Table.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;and Make All Dates Field Alias as "Date".&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Each Date Having Flag so Create Variables in Frontend&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Suppose my Date is TRANSDATE so am alias to Date n Assign '1' as Flag or Doctype&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Make Variable&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;set v&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;TRANSDATE=Max({&amp;lt;Doctype={'1'}&amp;gt;}Date) in Frontend and use in expression like&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;e.g.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;sum({&amp;lt;Date={"$(&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;v&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 13.3333px; font-family: inherit;"&gt;TRANSDATE&lt;/SPAN&gt;)"}&amp;gt;}Sales) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 10:02:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53641#M774439</guid>
      <dc:creator>vishalarote</dc:creator>
      <dc:date>2018-05-04T10:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: Creating facts and dimensions from multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53642#M774441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aamijit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case if you put some effort and identify the dimension and fact then with in the files , then you can go for a star schema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Multiple dimension tables (like emp, product etc) mapped to a fact table (Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;KC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 11:03:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53642#M774441</guid>
      <dc:creator>jyothish8807</dc:creator>
      <dc:date>2018-05-04T11:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Creating facts and dimensions from multiple files</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53643#M774442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Did you mean to concatenate all the files and form a single table and not 2 different dim and fact tables?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Yes. It may sound crude, but it should be functional - but it is dependent on the nature of the differences between the files. For example, if one file contains a department ID and name, and another has only the ID, then selecting department name will deselect all the rows from the second file.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Make sue you use explicit concatenation (with the Concatenate keyword) if the fields differ between the files. And load a derived type or source field so you can easily identify records using a set expression.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2018 11:12:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-facts-and-dimensions-from-multiple-files/m-p/53643#M774442</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2018-05-04T11:12:07Z</dc:date>
    </item>
  </channel>
</rss>

