<?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: Re: Common Shared Calendar Modeling Challenge in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516088#M691603</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I reckon you need a bit of set analysis for that. See attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Sep 2013 11:03:05 GMT</pubDate>
    <dc:creator>Gysbert_Wassenaar</dc:creator>
    <dc:date>2013-09-14T11:03:05Z</dc:date>
    <item>
      <title>Common Shared Calendar Modeling Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516084#M691599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been struggling with this concept for some time now and am almost at a point of giving up, hoping somebody has an idea. My dilemma is that I'm trying to create a common calendar from multiple date fields in different tables. I've included a sample of my challenge in this post.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;The three tables I created in the sample all share a common field A_ID. &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Table B and table C go to a lower grain with their own dates and unique keys &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(B_ID and C_ID). Selecting specific dates, or a range of dates, from Calendar &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Link has no effect on Table B or C because relationship is going through higher &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;level (A_ID instead of B_ID or C_ID).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have any ideas on how I can model this differently so data will be filtered appropriately? Ive tried several different methods but haven't had any success. Any help would be MUCH appreciated. Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 17:16:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516084#M691599</guid>
      <dc:creator />
      <dc:date>2013-09-12T17:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: Common Shared Calendar Modeling Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516085#M691600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure I completely understand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I select a Start Date different from 11/18, I do get an effect on the other tables, filtered by A_ID = A.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure, you only filter your records in the tables by the linked A_ID, but since you don't have any other dates in your tables B and C, how do you wan these filtered when selecting a date range?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&lt;/P&gt;&lt;P&gt;You can also have a look into this discussion and linked tutorial:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/thread/66717" title="http://community.qlik.com/thread/66717"&gt;http://community.qlik.com/thread/66717&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you want to have a common calendar and you have in fact date fields in all your table (not only in the link table), then maybe try to concatenate tables A,B,C.&lt;/P&gt;&lt;P&gt;I read that you are coping with tables are coping with mixed granularity, so maybe this is also of interest:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2012/10/26/mixed-granularity" title="http://community.qlik.com/blogs/qlikviewdesignblog/2012/10/26/mixed-granularity"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2012/10/26/mixed-granularity&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit2: I'm sorry, haven't had a close look to your inline tables, I missed the dates.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 17:23:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516085#M691600</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2013-09-12T17:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: Common Shared Calendar Modeling Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516086#M691601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached qvw. I've used the &lt;A href="https://code.google.com/p/qlikview-components/downloads/list"&gt;Qlikview Components library&lt;/A&gt; to create the link table. See the LinkTable.qvw document in Examples folder of the qvc-8.1.zip download.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Sep 2013 17:37:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516086#M691601</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-09-12T17:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Common Shared Calendar Modeling Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516087#M691602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;G Wassenaar - First thank you very much for responding and including the library.&amp;nbsp; I had no idea this existed and I plan on using it going forward in other projects.&amp;nbsp; I tested your idea and it works to a point.&amp;nbsp; I would greatly appreciate it if you, or anybody else reading this, could open the attached .qvw and go through my "Challenge" box.&amp;nbsp; I hope this makes sense and there is a way to model this.&amp;nbsp; It's like I'm trying to create a link table with tables at different grains, but they share the same field at the highest grain.&amp;nbsp; Here is the "Challenge" I put in the .qvw sample:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Challenge:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Select Jan 1 1998 from "Start Date" Calendar Object&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) The link table works as expected, filtering out rows from both Table B and C&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) Select "Apples" from C_NAME field&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) Table B goes blank since %LinkTable value of "5" doesn't relate to Table B&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this scenario I need to create a model where somehow the dates are related to the %LinkTable field but the attributes of the table still go through the common field "A_ID" on all tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So in step 4 above instead of filtering Table B on %LinkTable value of "5" it is filtered on A_ID of "A".&amp;nbsp; If this was the case two rows would show for Table B (Pepper and Coconut) .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Sep 2013 19:58:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516087#M691602</guid>
      <dc:creator />
      <dc:date>2013-09-13T19:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Common Shared Calendar Modeling Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516088#M691603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I reckon you need a bit of set analysis for that. See attached qvw.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Sep 2013 11:03:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516088#M691603</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-09-14T11:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Common Shared Calendar Modeling Challenge</title>
      <link>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516089#M691604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;G Wassenaar - Again I very much appreciate your ideas.&amp;nbsp; Yes set analysis would work as you've highlighted in your example, but imagine in my non-sample .qvw I have 8 dimensions which will share a common link table, each with multiple attributes.&amp;nbsp; Each measure in each object would have a huge set analysis statement.&amp;nbsp; The maintenance and performance would take a hit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would really hope somehow a QlikView model could handle this.&amp;nbsp; You might agree that the issue is the three tables are naturally related by a high level key, but the link table needs to be created at the lower level to share date attributes.&amp;nbsp; It seems as though I've tried everything but what about concatenating or joining the three tables vs creating a link table, or contatenating or joining in conjunction with a link table?&amp;nbsp; I appreciate the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Sep 2013 14:24:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Common-Shared-Calendar-Modeling-Challenge/m-p/516089#M691604</guid>
      <dc:creator />
      <dc:date>2013-09-14T14:24:50Z</dc:date>
    </item>
  </channel>
</rss>

