<?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: Regarding shared calendar with different keys in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802394#M283248</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;Maybe can help you.....just to find a way.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date" title="http://community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date"&gt;http&amp;nbsp; :&amp;nbsp; //&amp;nbsp;&amp;nbsp; community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alessandro Furtado&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 22 Nov 2014 23:30:12 GMT</pubDate>
    <dc:creator>afurtado</dc:creator>
    <dc:date>2014-11-22T23:30:12Z</dc:date>
    <item>
      <title>Regarding shared calendar with different keys</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802393#M283247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly share your opinion regarding my scenario with shared calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have 6 fact tables.&lt;/P&gt;&lt;P&gt;fact1&amp;nbsp; connected&amp;nbsp; through key k1 to fact2&lt;/P&gt;&lt;P&gt;fact2 connected&amp;nbsp; through key k2&amp;nbsp; to fact3&lt;/P&gt;&lt;P&gt;fact3 connected&amp;nbsp; through key k3 to fact4&lt;/P&gt;&lt;P&gt;fact4 connected&amp;nbsp; through key k4 to fact5&lt;/P&gt;&lt;P&gt;fact5 connected&amp;nbsp; through key k5 to fact6&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did some sort of joins between all the facts and merged them into a single fact table which contains 5&amp;nbsp; different keys. Each fact table has a date field. So my fact table as of now contains 5 date fields such as (order date, ship date and so on).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now if I need to create a common calendar, How do I generate a common key which fetches the data fields accordingly. As per my perception about the common calendar, I need to have a common key which connects all the fact table. But in my scenario there is no common key based on all the tables because each table get connected to other through different key combinations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly let me know how to build a shared calendar if I have 5 different date with different keys contained in one fact table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Kiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Nov 2014 22:57:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802393#M283247</guid>
      <dc:creator />
      <dc:date>2014-11-22T22:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding shared calendar with different keys</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802394#M283248</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;Maybe can help you.....just to find a way.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date" title="http://community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date"&gt;http&amp;nbsp; :&amp;nbsp; //&amp;nbsp;&amp;nbsp; community.qlik.com/blogs/qlikviewdesignblog/2014/02/17/canonical-date&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alessandro Furtado&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Nov 2014 23:30:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802394#M283248</guid>
      <dc:creator>afurtado</dc:creator>
      <dc:date>2014-11-22T23:30:12Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding shared calendar with different keys</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802395#M283249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you joined your tables into a single fact table with 5 keys and 5 date fields, then maybe you could generate a link table with dates and date types that connects to a master calendar:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14167002059511505" jivemacro_uid="_14167002059511505"&gt;
&lt;P&gt;Left Join (facttable)&lt;/P&gt;
&lt;P&gt;LOAD distinct&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; key1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; key2,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; key3,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; key4,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; key5,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutonumberHash128(key1,key2,key3,key4,key5) as key&lt;/P&gt;
&lt;P&gt;Resident facttable;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabLink:&lt;/P&gt;
&lt;P&gt;CrossTable (datetype, date)&lt;/P&gt;
&lt;P&gt;LOAD key,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date1,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date2,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date3,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date4,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; date5&lt;/P&gt;
&lt;P&gt;Resident facttable;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;tabCalendar:&lt;/P&gt;
&lt;P&gt;LOAD date,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; week(date) as week,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; month(date) as month,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 22 Nov 2014 23:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802395#M283249</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-11-22T23:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding shared calendar with different keys</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802396#M283250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks so much guys, finally it got worked &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;. I sincerely appreciate your time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kiru&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 19:20:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802396#M283250</guid>
      <dc:creator />
      <dc:date>2014-11-24T19:20:28Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding shared calendar with different keys</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802397#M283251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're welcome&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Nov 2014 19:45:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802397#M283251</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2014-11-24T19:45:26Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding shared calendar with different keys</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802398#M283252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="color: #10253f;"&gt;Hello Marco, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #10253f;"&gt;I appreciate your time, I am looking for some modifications in the above script with a condition that when I click a shared date, then it need to show only the same date value from other date fields. Let say when I click, 1/1/2014 from shared-date then if it is present in other date fields say in ship-date and order-date then it need to show the same otherwise it need to get grayed out.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #10253f;"&gt;As of now it is showing a lot of other dates as well, but my scenario is to show only that particular date which I am clicking on the shared-date.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #10253f;"&gt;Kindly let me know.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #10253f;"&gt;Kind regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #10253f;"&gt;Kiru&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Nov 2014 21:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802398#M283252</guid>
      <dc:creator />
      <dc:date>2014-11-26T21:20:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regarding shared calendar with different keys</title>
      <link>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802399#M283253</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;We are trying this solution for a similar problem, and we are encountering some issues. When we call our Common Calendar using this Key and a Cross Table - the dates don't see each other.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if I select 11/7/2015 out of the Date field - everything is greyed out in all the other datetype fields.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my data doesn't connect to the common calendar, even though the common calendar is being created. See below. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Left Join(Orders)&lt;/P&gt;&lt;P&gt;Key:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; ProjectItemID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; ConcessionItemID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; TicketID,&lt;/P&gt;&lt;P&gt;&amp;nbsp; AutoNumberHash256(ProjectItemID, ProjectID, ConcessionItemID, TicketID) as Key&lt;/P&gt;&lt;P&gt;Resident Orders;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TableLink:&lt;/P&gt;&lt;P&gt;CrossTable (DateType, Date)&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; Key,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(OrderDate) as OrderDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(CombinedShipDate) as CombinedShipDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(ConcessionCreatedDate) as ConcessionCreatedDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Date(TicketCreatedDate) as TicketCreatedDate&lt;/P&gt;&lt;P&gt;Resident Orders; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL CalendarFromField('Date', 'CommonCalendar', '');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any solutions? Or, better - how do you do this from start to finish, creating the full calendar with&amp;nbsp; Fact Keys that are not the same? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Nov 2015 22:20:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Regarding-shared-calendar-with-different-keys/m-p/802399#M283253</guid>
      <dc:creator />
      <dc:date>2015-11-17T22:20:40Z</dc:date>
    </item>
  </channel>
</rss>

