<?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: Multiple fields in fact table referring to one dimension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636780#M233537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ever thought of using ApplyMaps? This way you can translate the IDs into Employee names fairly easy without adding any additional table to the data model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Jun 2014 09:00:48 GMT</pubDate>
    <dc:creator>simondachstr</dc:creator>
    <dc:date>2014-06-03T09:00:48Z</dc:date>
    <item>
      <title>Multiple fields in fact table referring to one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636775#M233532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Qlik-Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the following situation and don't know how to handle this issue. I hope you know how to solve solve this problem.&lt;/P&gt;&lt;P&gt;I have a fact table with two different fields, which represent employees, and want to connect them to one dimension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fact-Table:&lt;/P&gt;&lt;P&gt;Article, ResponsiblePersonPurchasing, ResponsiblePersonSales&lt;/P&gt;&lt;P&gt;1, 20, 30,&lt;/P&gt;&lt;P&gt;2, 10, 30&lt;/P&gt;&lt;P&gt;3, 10, 20&lt;/P&gt;&lt;P&gt;etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DiM_Employees:&lt;/P&gt;&lt;P&gt;10, Mr. Maier&lt;/P&gt;&lt;P&gt;20, Mrs. Mueller&lt;/P&gt;&lt;P&gt;30, Mr. Max&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to link the fields ResponsiblePersonPurchasing and ResponsiblePesonSales with DIM_Employee without using two dimensional tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 08:12:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636775#M233532</guid>
      <dc:creator />
      <dc:date>2014-06-03T08:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in fact table referring to one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636776#M233533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not an easy one but you can create a "link table". Is is not a elegant solution but it works.&lt;/P&gt;&lt;P&gt;Johan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 08:20:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636776#M233533</guid>
      <dc:creator>johanlindell</dc:creator>
      <dc:date>2014-06-03T08:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in fact table referring to one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636777#M233534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The alternative is splitting the records of your fact table into something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Article, EmployeeID, Role&lt;/P&gt;&lt;P&gt;1, 20, Purchaser&lt;/P&gt;&lt;P&gt;1, 30, Seller&lt;/P&gt;&lt;P&gt;2, 10, Purchaser&lt;/P&gt;&lt;P&gt;3, 30, Seller&lt;/P&gt;&lt;P&gt;...etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will double the size of your fact table. I don't recommend it. Use two dimension tables instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 08:23:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636777#M233534</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2014-06-03T08:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in fact table referring to one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636778#M233535</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;in fact there is difficult to recomend with no knowledgo of entire data model, analytical needs etc.&lt;/P&gt;&lt;P&gt;One of possible ways is:&lt;/P&gt;&lt;P&gt;table1:&lt;/P&gt;&lt;P&gt;Article_id, Article_name, Article_Group&lt;/P&gt;&lt;P&gt;1, A, G1&lt;/P&gt;&lt;P&gt;2,B,G1&lt;/P&gt;&lt;P&gt;3,C,G2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;table2:&lt;/P&gt;&lt;P&gt;Article_id,Person_id,Person_type&lt;/P&gt;&lt;P&gt;1,20,Purchasing&lt;/P&gt;&lt;P&gt;1, 30,Sales&lt;/P&gt;&lt;P&gt;2, 10,Purchasing&lt;/P&gt;&lt;P&gt;2,30,Sales&lt;/P&gt;&lt;P&gt;3, 10,Purchasing&lt;/P&gt;&lt;P&gt;3,20,Sales&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DiM_Employees:&lt;/P&gt;&lt;P&gt;Person_id,Name&lt;/P&gt;&lt;P&gt;10, Mr. Maier&lt;/P&gt;&lt;P&gt;20, Mrs. Mueller&lt;/P&gt;&lt;P&gt;30, Mr. Max&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;regards&lt;/P&gt;&lt;P&gt;Darek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 08:31:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636778#M233535</guid>
      <dc:creator />
      <dc:date>2014-06-03T08:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in fact table referring to one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636779#M233536</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;following Ralph Kimball's approach of role-playing dimensions you would need to have two employee dimension tables in your case...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 08:42:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636779#M233536</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-06-03T08:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in fact table referring to one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636780#M233537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ever thought of using ApplyMaps? This way you can translate the IDs into Employee names fairly easy without adding any additional table to the data model.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 09:00:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636780#M233537</guid>
      <dc:creator>simondachstr</dc:creator>
      <dc:date>2014-06-03T09:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in fact table referring to one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636781#M233538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;.. but then you will still have two employee fields, means two dimensions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 09:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636781#M233538</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2014-06-03T09:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in fact table referring to one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636782#M233539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In "one field dimension" it will be ofcourse better to put names into fact table. But life is not that simple. I am sure, that there may be more complicated employee dimension, with some hierarchy, department info etc &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;D&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 09:07:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636782#M233539</guid>
      <dc:creator />
      <dc:date>2014-06-03T09:07:49Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in fact table referring to one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636783#M233540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've used ApplyMaps, with that function you are not able to select one Employee and show all articles, which belongs to him, either it belongs to purchasing or to sales.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 11:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636783#M233540</guid>
      <dc:creator />
      <dc:date>2014-06-03T11:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in fact table referring to one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636784#M233541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So it is not possible to link two fields in the fact table to one dimension?&lt;/P&gt;&lt;P&gt;I think, it is only possible with two identic dimension tables.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 11:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636784#M233541</guid>
      <dc:creator />
      <dc:date>2014-06-03T11:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple fields in fact table referring to one dimension</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636785#M233542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, this might be a solution, but as you said it is not a elegant solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With that approach you need to add different roles in your data model - it is not possible to list different responsible employees in one record (e.g. article, project, etc.).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems, that that issue is quite complicated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Jun 2014 11:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-fields-in-fact-table-referring-to-one-dimension/m-p/636785#M233542</guid>
      <dc:creator />
      <dc:date>2014-06-03T11:35:52Z</dc:date>
    </item>
  </channel>
</rss>

