<?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: Associative model question in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713614#M256842</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The request that led me to concatenate the two tables was to get a report like this : Date - Invoiced Value - Ordered Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is why I concatenated the two tables and have a %Date_Key field in the fact table with the order date and the invoice date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Oct 2014 17:50:17 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-10-28T17:50:17Z</dc:date>
    <item>
      <title>Associative model question</title>
      <link>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713609#M256837</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;The more I use Qlikview, the more I'm unsure about what to do sometimes...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an application with a sales order table and a sales invoice table, which I concatenated into a fact table like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sales Order&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sales Invoice&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Order Value&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Invoice Value&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Origin&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;AAA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ORDERS&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;AAA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1234&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;INVOICES&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, there are dimension tables attached to the fact table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, I was asked to make a report where I show the invoice value per order reason. I already have this field is in the order table, and not on the invoice table.&lt;/P&gt;&lt;P&gt;Can I make this with my current model, or should I change it and have a fact table like this, where I retrieve the order reason and put it into my fact table?:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;Sales Order&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Sales Invoice&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Order Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Invoice Value&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Origin&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;OrderReason&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;AAA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;ORDERS&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;F11&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;AAA&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1234&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;100&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;INVOICES&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;F11&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 16:25:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713609#M256837</guid>
      <dc:creator />
      <dc:date>2014-10-28T16:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: Associative model question</title>
      <link>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713610#M256838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The question is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how invoices and orders are linked togheter? Probably you have order number into the invoice table so, if this is the case, I should associate table, concatenation is not the better choise for this situation because the difference of meanings of fields from the 2 tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Verify and let me know&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 16:28:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713610#M256838</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-28T16:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: Associative model question</title>
      <link>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713611#M256839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ciao,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had to concatenate the two tables into one fact table, because of a calendar request at the beginning of the application. The two tables have one field in common: the sales order number (AAA in my exemple above).&lt;/P&gt;&lt;P&gt;I'm sorry, I did not understand your comment about the meaning of fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 16:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713611#M256839</guid>
      <dc:creator />
      <dc:date>2014-10-28T16:36:38Z</dc:date>
    </item>
    <item>
      <title>Re: Associative model question</title>
      <link>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713612#M256840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So tables are naturally associated, there is no need of concatenation, let's find another way for date field, tell me about calendar, what is the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 16:39:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713612#M256840</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-28T16:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Associative model question</title>
      <link>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713613#M256841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you considered to join some of the order attributes to the invoice table before concatenating the two tables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 16:57:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713613#M256841</guid>
      <dc:creator>albertovarela</dc:creator>
      <dc:date>2014-10-28T16:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Associative model question</title>
      <link>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713614#M256842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The request that led me to concatenate the two tables was to get a report like this : Date - Invoiced Value - Ordered Value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That is why I concatenated the two tables and have a %Date_Key field in the fact table with the order date and the invoice date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 17:50:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713614#M256842</guid>
      <dc:creator />
      <dc:date>2014-10-28T17:50:17Z</dc:date>
    </item>
    <item>
      <title>Re: Associative model question</title>
      <link>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713615#M256843</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I thought about it, but before I did that, I thought I would ask here what would be the best way to solve this problem. I know it would work fine, but I was wondering if there was any more elegant way. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 17:52:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713615#M256843</guid>
      <dc:creator />
      <dc:date>2014-10-28T17:52:29Z</dc:date>
    </item>
    <item>
      <title>Re: Associative model question</title>
      <link>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713616#M256844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is not the best way because order date and invoice date must belong to 2 different calendar.&lt;/P&gt;&lt;P&gt;There must be a calendar for order and one for invoice, the tables must be associated by order no.&lt;/P&gt;&lt;P&gt;What is the meaning of concatenating date? if you select a date you will see orders and invoiced done in that date but is it really this the objective?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 21:46:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713616#M256844</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-28T21:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: Associative model question</title>
      <link>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713617#M256845</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it is the objective. They did not want two different calendars, but have a view of the activity per day. It is the only workaround about which I could think.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 07:52:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713617#M256845</guid>
      <dc:creator />
      <dc:date>2014-10-29T07:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Associative model question</title>
      <link>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713618#M256846</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;At this point you have to associate tables with the fields, date, the only thing you have to do is assigning the same name (with aliases) to the fields date in both tables&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Oct 2014 08:13:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713618#M256846</guid>
      <dc:creator>alexandros17</dc:creator>
      <dc:date>2014-10-29T08:13:12Z</dc:date>
    </item>
    <item>
      <title>Re: Associative model question</title>
      <link>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713619#M256847</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm sorry that it took me so long to answer, but I think I did not understand your suggestion, because what I understood would create a loop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say that you have two tables: orders and invoices, with the following fields&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Orders&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;OrderDate&lt;/LI&gt;&lt;LI&gt;OrderNumber&lt;/LI&gt;&lt;LI&gt;OrderValue&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Invoices&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;InvoiceDate&lt;/LI&gt;&lt;LI&gt;InvoiceNumber&lt;/LI&gt;&lt;LI&gt;OrderNumber&lt;/LI&gt;&lt;LI&gt;InvoiceValue&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would you link them in your example so that I can show the Sum(OrderValue) and the Sum(InvoiceValue) on the same day?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 14 Nov 2014 16:42:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Associative-model-question/m-p/713619#M256847</guid>
      <dc:creator />
      <dc:date>2014-11-14T16:42:57Z</dc:date>
    </item>
  </channel>
</rss>

