<?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: Calendar Conundrum in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Calendar-Conundrum/m-p/928343#M651855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have read that and I think that might be the direction I need to go in, but alot of my tables dont have full dates. All they have is either Year and month or year and quarter. Now I could use a makedate and just give them an arbitrary day and/or Month but I wasnt sure if that is the best approach either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking for advice on getting the dates together.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 28 Aug 2015 12:29:20 GMT</pubDate>
    <dc:creator>cbushey1</dc:creator>
    <dc:date>2015-08-28T12:29:20Z</dc:date>
    <item>
      <title>Calendar Conundrum</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Conundrum/m-p/928341#M651853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to create a singular calendar that the user can select from but my problem is that I have multiple datasources and dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is how my data model breaks down:&lt;/P&gt;&lt;P&gt;Table 1:Nurse hours&lt;/P&gt;&lt;P&gt;ID =LocationID&amp;amp;Year&amp;amp;Month &lt;/P&gt;&lt;P&gt;Location&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 2: Pt Days&lt;/P&gt;&lt;P&gt;ID =LocationID&amp;amp;Year&amp;amp;Month&lt;/P&gt;&lt;P&gt;Location&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 3: Falls&lt;/P&gt;&lt;P&gt;ID =LocationID&amp;amp;Year&amp;amp;Month&lt;/P&gt;&lt;P&gt;Location&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 4:Ulcers&lt;/P&gt;&lt;P&gt;ID =HospitalID&amp;amp;Year&amp;amp;Quarter&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Quarter&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 5: Perinatal&lt;/P&gt;&lt;P&gt;ID HospitalID&amp;amp;Year&amp;amp;Month&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 6: Lactation&lt;/P&gt;&lt;P&gt;ID =HospitalID&amp;amp;Year&amp;amp;Month&lt;/P&gt;&lt;P&gt;Year&lt;/P&gt;&lt;P&gt;Month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 7:AbsData&lt;/P&gt;&lt;P&gt;ID =AbsAccount&lt;/P&gt;&lt;P&gt;StartDateTime&lt;/P&gt;&lt;P&gt;EndDateTime&lt;/P&gt;&lt;P&gt;LocationID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 8:CodeBlue&lt;/P&gt;&lt;P&gt;ID =LocationID&amp;amp;Year&amp;amp;Month&amp;amp;Day&lt;/P&gt;&lt;P&gt;LocationName&lt;/P&gt;&lt;P&gt;CodeDate&lt;/P&gt;&lt;P&gt;CodeTime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table 9:Incidents&lt;/P&gt;&lt;P&gt;ID =IncidentID&lt;/P&gt;&lt;P&gt;LocationName&lt;/P&gt;&lt;P&gt;EventDate&lt;/P&gt;&lt;P&gt;EventTime&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Link:&lt;/P&gt;&lt;P&gt;ID1 = LocationID&amp;amp;Year&amp;amp;Month&lt;/P&gt;&lt;P&gt;ID2 = HospitalID&amp;amp;Year&amp;amp;Quarter&lt;/P&gt;&lt;P&gt;ID3 = HospitalID&amp;amp;Year&amp;amp;Month&lt;/P&gt;&lt;P&gt;ID4 = AbsAccount&lt;/P&gt;&lt;P&gt;ID5 = LocationID&amp;amp;Year&amp;amp;Month&amp;amp;Day&lt;/P&gt;&lt;P&gt;ID6 = IncidentID&lt;/P&gt;&lt;P&gt;YearMonth (essentially the year and month of each table’s date field)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then build a master calendar off the year month field but I know I have issues with it because most of my tables only have one date field, but my AbsData table has two thus causing a problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 12:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Conundrum/m-p/928341#M651853</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2015-08-28T12:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Conundrum</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Conundrum/m-p/928342#M651854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Henric Cronstrom addresses exactly this issue here: &lt;A href="https://community.qlik.com/qlik-blogpost/3585"&gt;Canonical Date&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 12:12:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Conundrum/m-p/928342#M651854</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2015-08-28T12:12:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Conundrum</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Conundrum/m-p/928343#M651855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes I have read that and I think that might be the direction I need to go in, but alot of my tables dont have full dates. All they have is either Year and month or year and quarter. Now I could use a makedate and just give them an arbitrary day and/or Month but I wasnt sure if that is the best approach either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking for advice on getting the dates together.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 12:29:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Conundrum/m-p/928343#M651855</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2015-08-28T12:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Conundrum</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Conundrum/m-p/928344#M651856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you do not have full dates, then you can use makedate to generate a date equal to the first (or last) day of the period or quarter. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 16:00:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Conundrum/m-p/928344#M651856</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2015-08-28T16:00:17Z</dc:date>
    </item>
    <item>
      <title>Re: Calendar Conundrum</title>
      <link>https://community.qlik.com/t5/QlikView/Calendar-Conundrum/m-p/928345#M651857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know about Makedate but I am not sure that is the best approach given I am arbitrarily choosing a day (1) for these events to have occurred when in fact they occurred over the whole month.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I will see if there is a better way to do this whole table structure. I think I may need to do a canonical date.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 17:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Calendar-Conundrum/m-p/928345#M651857</guid>
      <dc:creator>cbushey1</dc:creator>
      <dc:date>2015-08-31T17:58:57Z</dc:date>
    </item>
  </channel>
</rss>

