<?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: Using dates as variables in a straight table - Calculation timeout in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359238#M416812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You just need to replicate the script, and just need to select from date &amp;amp; to date. No variable required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jun 2017 13:12:42 GMT</pubDate>
    <dc:creator>Kushal_Chawda</dc:creator>
    <dc:date>2017-06-26T13:12:42Z</dc:date>
    <item>
      <title>Using dates as variables in a straight table - Calculation timeout</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359231#M416805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to display a straight table to display data between 2 dates. These dates are set via variables and a calendar object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have added a calculated a dimension that sets the dimension to null when the date is not between the variables:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;=&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PK_CALENDAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vStart&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;PK_CALENDAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &amp;lt;=&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;vEnd&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;,1,&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;null&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;with PK_CALENDAR being my date field in my model, and vStart and vEnd being the calendar variables.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;This is then supressed when values are null, so that only rows between those dates are displayed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"&gt;My issue is that this is proving very slow, and some users are having calculation timeouts based on this dimension and other similar ones. Is there an alterative method?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: arial,helvetica,sans-serif;"&gt;(ideally without changing my entire data model!)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 10:34:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359231#M416805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T10:34:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using dates as variables in a straight table - Calculation timeout</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359232#M416806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try to use yin your script:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;if&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;PK_CALENDAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;gt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #808080; font-size: 8pt; font-family: inherit; font-weight: inherit;"&gt;&lt;EM&gt;vStart&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #0000ff;"&gt;and&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #800000;"&gt;PK_CALENDAR&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &amp;lt;=&lt;/SPAN&gt;&lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #808080; font-size: 8pt; font-family: inherit; font-weight: inherit;"&gt;&lt;EM&gt;vEnd&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;,1&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;) as FLAG_DATE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If you want attach a data sample, I will try to help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Miguel del Valle&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 10:38:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359232#M416806</guid>
      <dc:creator>migueldelval</dc:creator>
      <dc:date>2017-06-26T10:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Using dates as variables in a straight table - Calculation timeout</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359233#M416807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean as part of the load script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How would we get it to interact with variables?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 10:54:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359233#M416807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T10:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using dates as variables in a straight table - Calculation timeout</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359234#M416808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check please,this example and ask me If you have some trouble,&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;Miguel del Valle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 11:36:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359234#M416808</guid>
      <dc:creator>migueldelval</dc:creator>
      <dc:date>2017-06-26T11:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Using dates as variables in a straight table - Calculation timeout</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359235#M416809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use script method like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/docs/DOC-18125"&gt;From Date &amp;amp;amp; To Date Selection Script Solution&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 12:14:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359235#M416809</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-06-26T12:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using dates as variables in a straight table - Calculation timeout</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359236#M416810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But this does not change dynamically when the variables are changed?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 12:29:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359236#M416810</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T12:29:23Z</dc:date>
    </item>
    <item>
      <title>Re: Using dates as variables in a straight table - Calculation timeout</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359237#M416811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have incorporated this method in to my data structure, however the data does not change on these selections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can I have an example of a table/expression that will work with this method&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 13:10:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359237#M416811</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T13:10:55Z</dc:date>
    </item>
    <item>
      <title>Re: Using dates as variables in a straight table - Calculation timeout</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359238#M416812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You just need to replicate the script, and just need to select from date &amp;amp; to date. No variable required.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 13:12:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359238#M416812</guid>
      <dc:creator>Kushal_Chawda</dc:creator>
      <dc:date>2017-06-26T13:12:42Z</dc:date>
    </item>
    <item>
      <title>Re: Using dates as variables in a straight table - Calculation timeout</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359239#M416813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe there is something wrong with the way I have incorporated it to my current data model.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Key list box is changing dates correctly when selecting from the calendar, but the Date list box does not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had to adapt it as I have a working existing calendar script that I do now want to change, as different features are used throughout the project&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 13:20:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359239#M416813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T13:20:56Z</dc:date>
    </item>
    <item>
      <title>Re: Using dates as variables in a straight table - Calculation timeout</title>
      <link>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359240#M416814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have attached my data model script (minus the fact tables and dashboard objects)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 15:19:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-dates-as-variables-in-a-straight-table-Calculation-timeout/m-p/1359240#M416814</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-26T15:19:54Z</dc:date>
    </item>
  </channel>
</rss>

