<?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: Trying to upload multiple Fact Tables in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178849#M898876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;correct, that is how QV is handing it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2016 21:57:17 GMT</pubDate>
    <dc:creator>ramoncova06</dc:creator>
    <dc:date>2016-07-19T21:57:17Z</dc:date>
    <item>
      <title>Trying to upload multiple Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178842#M898869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys, I am new to Qlikview and I am having some troubles while trying to load data from multiple fact tables. My scenario is as following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to get information from 4 different fact tables, they share the same dimensions, I´ve tried to use CONCATENATE but it is duplicating the values of my metrics. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your support.&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/Trying-to-upload-multiple-Fact-Tables/m-p/1178842#M898869</guid>
      <dc:creator />
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to upload multiple Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178843#M898870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you describe your fields and tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 18:40:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178843#M898870</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2016-07-18T18:40:18Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to upload multiple Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178844#M898871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Make sure you are not declaring new table names.&lt;/P&gt;&lt;P&gt;Check the internal table view(Ctrl+T on a desktop client or IE plugin version) to make sure all 4 FACTs are indeed concatenated into a single table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code should be like this:&lt;/P&gt;&lt;P&gt;TableName:&lt;/P&gt;&lt;P&gt;LOAD ..&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;..&lt;/P&gt;&lt;P&gt;from source1;&lt;/P&gt;&lt;P&gt;concatenate &lt;/P&gt;&lt;P&gt;LOAD ...&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;from source 2;&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;&lt;/P&gt;&lt;P&gt;If you happen to include any other loads in between - try using concatenate(TableName)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 18:44:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178844#M898871</guid>
      <dc:creator>boorgura</dc:creator>
      <dc:date>2016-07-18T18:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to upload multiple Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178845#M898872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P class=""&gt;Hi Clark,&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Try using qualify and unqualify function which will add the table names in front of your field names for all the four tables leaving out your Primary key.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;For eg:&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Qualify *;&lt;/P&gt;&lt;P class=""&gt;Unqualify PRODUCT_KEY;&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;SalesTable:&lt;/P&gt;&lt;P class=""&gt;Load&lt;/P&gt;&lt;P class=""&gt;PRODUCT_KEY,&lt;/P&gt;&lt;P class=""&gt;FIXED_COST,&lt;/P&gt;&lt;P class=""&gt;VARIABLE_COST,&lt;/P&gt;&lt;P class=""&gt;TOTAL_COST&lt;/P&gt;&lt;P class=""&gt;From Sales.qvd&lt;/P&gt;&lt;P class=""&gt;;&lt;/P&gt;&lt;P class=""&gt;CostTable:&lt;/P&gt;&lt;P class=""&gt;Load&lt;/P&gt;&lt;P class=""&gt;PRODUCT_KEY,&lt;/P&gt;&lt;P class=""&gt;FIXED_COST,&lt;/P&gt;&lt;P class=""&gt;VARIABLE_COST,&lt;/P&gt;&lt;P class=""&gt;TOTAL_COST&lt;/P&gt;&lt;P class=""&gt;From Cost.qvd&lt;/P&gt;&lt;P class=""&gt;;&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Unqualify *;&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Hope this helps.&lt;/P&gt;&lt;P class=""&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P class=""&gt;Many Thanks&lt;/P&gt;&lt;P class=""&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2016 18:45:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178845#M898872</guid>
      <dc:creator>karthikoffi27se</dc:creator>
      <dc:date>2016-07-18T18:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to upload multiple Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178846#M898873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks everyone for your quick responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Concatenate has worked for me partially, because I need a DISTINCT Count of a column, so when I concatenate my tables, I use the DISTINCT Count just to remove the duplicates from the concatenation, but not the duplicate values in the column, so what I basically need is something as follows: COUNT(DISTINCT(COUNT(DISTINCT CourseKey) --- I know this syntax has not much sense but I can't figure out a way of getting my Distinct values.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 17:29:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178846#M898873</guid>
      <dc:creator />
      <dc:date>2016-07-19T17:29:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to upload multiple Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178847#M898874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I normally use a hardcoded "source" field when joining fact tables, then you can use that as part of your set analysis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1:&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P&gt;*,&lt;/P&gt;&lt;P&gt;'Table1' as Source&lt;/P&gt;&lt;P&gt;from ....&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;Table2:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;load&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;*,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;'Table2' as Source&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;from ....&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;in the front end change the expression to a set analysis&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;COUNT( distinct {&amp;lt;&lt;SPAN style="font-size: 13.3333px;"&gt;Source ={&lt;/SPAN&gt;'&lt;SPAN style="font-size: 13.3333px;"&gt;Table1'} &lt;/SPAN&gt;&amp;gt;}CourseKey)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&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 style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;that way you can separate each fact &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 18:08:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178847#M898874</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2016-07-19T18:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to upload multiple Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178848#M898875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It works perfectly Ramon! Just confirming what it is doing internally... By using the set analysis I am specifying that I want Qlikview to make the Distinct Count from the information in &amp;lt;Source={'Table1'} table only right? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 21:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178848#M898875</guid>
      <dc:creator />
      <dc:date>2016-07-19T21:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to upload multiple Fact Tables</title>
      <link>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178849#M898876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;correct, that is how QV is handing it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2016 21:57:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Trying-to-upload-multiple-Fact-Tables/m-p/1178849#M898876</guid>
      <dc:creator>ramoncova06</dc:creator>
      <dc:date>2016-07-19T21:57:17Z</dc:date>
    </item>
  </channel>
</rss>

