<?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 Philosophical question re dates in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Philosophical-question-re-dates/m-p/881989#M307680</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have 2 tables&amp;nbsp; &lt;/P&gt;&lt;P&gt;table A (dates from April to August) - Sales achieved&lt;/P&gt;&lt;P&gt;table B (dates from Jan to Dec) - Target Sales&lt;/P&gt;&lt;P&gt;And I created a Master Calendar ( so both table A and table B) have a line in the script linking them to the Master Calendar.- called commonDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I found &lt;/P&gt;&lt;P&gt; &lt;A href="https://community.qlik.com/thread/67712"&gt;Selecting Arbitrary Date Ranges&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This was simple to follow (thank you qlkview community) - this is good because it allows a user a date using the calendar object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is:&lt;/P&gt;&lt;P&gt;I have list boxes called Month, Year, WeekNo - which I link to Calendar date (commonDate)?&lt;/P&gt;&lt;P&gt;However &lt;/P&gt;&lt;P&gt;the Month List box has months from Jan to Dec although there is no Sales Achieved data from August to December.&amp;nbsp; So not incorrect but annoying to users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other problem is that my chart with Months as a dimension on the x axis, get out of kilter when someone chooses Month from the List box.&lt;/P&gt;&lt;P&gt;I think I will need to send up an attachement to show what I mean.&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Jun 2015 14:33:19 GMT</pubDate>
    <dc:creator>josephinetedesc</dc:creator>
    <dc:date>2015-06-12T14:33:19Z</dc:date>
    <item>
      <title>Philosophical question re dates</title>
      <link>https://community.qlik.com/t5/QlikView/Philosophical-question-re-dates/m-p/881989#M307680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi I have 2 tables&amp;nbsp; &lt;/P&gt;&lt;P&gt;table A (dates from April to August) - Sales achieved&lt;/P&gt;&lt;P&gt;table B (dates from Jan to Dec) - Target Sales&lt;/P&gt;&lt;P&gt;And I created a Master Calendar ( so both table A and table B) have a line in the script linking them to the Master Calendar.- called commonDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I found &lt;/P&gt;&lt;P&gt; &lt;A href="https://community.qlik.com/thread/67712"&gt;Selecting Arbitrary Date Ranges&lt;/A&gt;&lt;/P&gt;&lt;P&gt;This was simple to follow (thank you qlkview community) - this is good because it allows a user a date using the calendar object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is:&lt;/P&gt;&lt;P&gt;I have list boxes called Month, Year, WeekNo - which I link to Calendar date (commonDate)?&lt;/P&gt;&lt;P&gt;However &lt;/P&gt;&lt;P&gt;the Month List box has months from Jan to Dec although there is no Sales Achieved data from August to December.&amp;nbsp; So not incorrect but annoying to users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The other problem is that my chart with Months as a dimension on the x axis, get out of kilter when someone chooses Month from the List box.&lt;/P&gt;&lt;P&gt;I think I will need to send up an attachement to show what I mean.&lt;/P&gt;&lt;P&gt;Jo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 14:33:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Philosophical-question-re-dates/m-p/881989#M307680</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2015-06-12T14:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: Philosophical question re dates</title>
      <link>https://community.qlik.com/t5/QlikView/Philosophical-question-re-dates/m-p/881990#M307681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this information about &lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&amp;nbsp; from &lt;A href="https://community.qlik.com/qlik-users/4003"&gt;Henric Cronström&lt;/A&gt;‌ could be very interesting and helpful reading for you too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What you are dealing with is different dates that play different roles. In data warehouse terminology it is often referred to as role-playing dimensions or alias dimensions. Dates are often the most common role-playing dimension. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your case the date have to roles both as a Sales "role" and also as a Target "role". They can be dealt with in different ways but HIC's article about Canoncial Date is very clear and informative on the matter when it comes to a QlikView approach.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 15:41:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Philosophical-question-re-dates/m-p/881990#M307681</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-06-12T15:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: Philosophical question re dates</title>
      <link>https://community.qlik.com/t5/QlikView/Philosophical-question-re-dates/m-p/881991#M307682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In this specific case, I would probably load the sales numbers and the target numbers in the same (concatenated) fact table, and still just use just one master calendar. If both sales and target numbers are by month, this is straightforward. But if you have different granularity for the two, you need to load it using generic keys. See &lt;A href="https://community.qlik.com/qlik-blogpost/2819"&gt;Fact Table with Mixed Granularity&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you think it is annoying/incorrect to show months where there is a target, but no sales, you could consider filtering away these records already when you load the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Jun 2015 16:38:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Philosophical-question-re-dates/m-p/881991#M307682</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2015-06-12T16:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Philosophical question re dates</title>
      <link>https://community.qlik.com/t5/QlikView/Philosophical-question-re-dates/m-p/881992#M307683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you both.&amp;nbsp; I will need to be at work to get the qvd files to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have done is use the daily report date&amp;nbsp; as daily date and then also load the daily report date as the commonDate.&amp;nbsp; I have also loaded the daily target date as targetDate&amp;nbsp; and also loaded the date as the commonDate.&amp;nbsp; So the daily report date - is today + 31 days, but the target date is available till December.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;There should be no need to choose a particular month or week&amp;nbsp; as the x axis of the charts shows monthly and week results.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; However when users try to show the data at a weekly or daily level, this is a problem with the results.&amp;nbsp; I suppose it would be better to have a separate sheet for the executive views and then when they want to delve they can use a different sheet?&amp;nbsp; Or maybe I could have another chart which shows the max month and then only for the max week?&amp;nbsp; So many possiblities!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;Jo&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Jun 2015 09:25:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Philosophical-question-re-dates/m-p/881992#M307683</guid>
      <dc:creator>josephinetedesc</dc:creator>
      <dc:date>2015-06-14T09:25:41Z</dc:date>
    </item>
  </channel>
</rss>

