<?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 Dates aren't linking?? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783327#M1025016</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ladies and Gents,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have bit of a problem with my dates that are extracted from a sql database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a first qvd generator which extracts the data and compresses it into a qvd. From this qvd i have another qvd generator which transforms the extract qvd. This is where i change the date and do all my transformations and create another qvd that will be pulled into qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of my other models runs on the same structure and the same calendar, the date formats are the same throughout my qlikview models. "YYYY-MM-DD...." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem: The problem is that when i run the model there are no errors in the script and the linking is 100% - but it does not seem to link as when i select a month, quarter, year etc all of my dimensions are grayed out. But when i select my date key as a date i get a result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense.&lt;/P&gt;&lt;P&gt;Please see attached for more details.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stevie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2015 11:58:37 GMT</pubDate>
    <dc:creator>stevietm</dc:creator>
    <dc:date>2015-03-11T11:58:37Z</dc:date>
    <item>
      <title>Dates aren't linking??</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783327#M1025016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ladies and Gents,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have bit of a problem with my dates that are extracted from a sql database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a first qvd generator which extracts the data and compresses it into a qvd. From this qvd i have another qvd generator which transforms the extract qvd. This is where i change the date and do all my transformations and create another qvd that will be pulled into qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of my other models runs on the same structure and the same calendar, the date formats are the same throughout my qlikview models. "YYYY-MM-DD...." &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem: The problem is that when i run the model there are no errors in the script and the linking is 100% - but it does not seem to link as when i select a month, quarter, year etc all of my dimensions are grayed out. But when i select my date key as a date i get a result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this makes sense.&lt;/P&gt;&lt;P&gt;Please see attached for more details.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Stevie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 11:58:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783327#M1025016</guid>
      <dc:creator>stevietm</dc:creator>
      <dc:date>2015-03-11T11:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dates aren't linking??</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783328#M1025017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi Stevie,&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;your appointment date field is date and time, so the underlying numerical value is different to what is being generated in your master calendar.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-size: 10pt;"&gt;Add a floor when you first create your key, so they are aligned&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;,Date((Floor([Appointment_Date])), 'YYYY-MM-DD') as AppointmentDateKey&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt; Hope that helps&lt;/DIV&gt;&lt;DIV&gt;Joe&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 12:12:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783328#M1025017</guid>
      <dc:creator />
      <dc:date>2015-03-11T12:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dates aren't linking??</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783329#M1025018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This worked fine - would you please be so kind just to explain what this "Floor" did as i never made use of this before.&lt;/P&gt;&lt;P&gt;Thanks for the help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards &lt;/P&gt;&lt;P&gt;Stevie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 12:17:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783329#M1025018</guid>
      <dc:creator>stevietm</dc:creator>
      <dc:date>2015-03-11T12:17:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dates aren't linking??</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783330#M1025019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Floor will remove the decimal from your underlying field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Essentially from your database field you had a value of 4899.12 for example, the number for the date and the decimal for the time element.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Within your master calendar you are auto generating whole numbers only so 4899 in this example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So even though the two show the same date from a text point of view, the number is actually different. This explains why when you select a month, only those whole number key values remain and the key values from your fact data (with the decimal) are dropped and vice versa.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The simplest way for you to see this, is load a listbox of your key field and change the presentation to number, you'll then see the different whole and decimal value&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 12:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783330#M1025019</guid>
      <dc:creator />
      <dc:date>2015-03-11T12:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dates aren't linking??</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783331#M1025020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joe,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks so much this is very helpful. This will solve a lot of future date problems.&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stevie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 13:19:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783331#M1025020</guid>
      <dc:creator>stevietm</dc:creator>
      <dc:date>2015-03-11T13:19:21Z</dc:date>
    </item>
    <item>
      <title>Re: Dates aren't linking??</title>
      <link>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783332#M1025021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;no problem glad to help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 13:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Dates-aren-t-linking/m-p/783332#M1025021</guid>
      <dc:creator />
      <dc:date>2015-03-11T13:22:49Z</dc:date>
    </item>
  </channel>
</rss>

