<?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: Time Series and Parameters in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329505#M495075</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;Just to add to the above post. You can add to the sql statement by using Load statement before Sql. It will look something similar to below one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Date(num(if( num(StartDate) &amp;lt;= num(EffectiveDate) and EndDate &amp;gt;=&amp;nbsp; num(EffectiveDate) ,StartDate)),'DD-MM-YYYY') as StartDate,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial; min-height: 8pt; height: 8pt;"&gt; Date(num(if( num(StartDate) &amp;lt;= num(EffectiveDate) and EndDate &amp;gt;=&amp;nbsp; num(EffectiveDate) ,EndDate)),'DD-MM-YYYY')&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;as EndDate,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;EffectiveDate, Value1, Value2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;select * from XY;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Use the resident to create an instance of sql table and use the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Select * from X;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Load &lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Date(num(if( num(StartDate) &amp;lt;= num(EffectiveDate) and EndDate &amp;gt;=&amp;nbsp; num(EffectiveDate) ,StartDate)),'DD-MM-YYYY') as StartDate,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial; min-height: 8pt;"&gt; Date(num(if( num(StartDate) &amp;lt;= num(EffectiveDate) and EndDate &amp;gt;=&amp;nbsp; num(EffectiveDate) ,EndDate)),'DD-MM-YYYY')&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;as EndDate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident X;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Deepak&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2012 08:53:43 GMT</pubDate>
    <dc:creator>deepakk</dc:creator>
    <dc:date>2012-03-01T08:53:43Z</dc:date>
    <item>
      <title>Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329491#M495056</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;I am basically loading data from a time series table, with the ffg in SQL:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select EffectiveDate, Value1, Value2, StartDate,EndDate&lt;/P&gt;&lt;P&gt;From X,Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WHERE&amp;nbsp; Y.EffectiveDate = @EffectiveDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND @EffectiveDate Between X.StartDate and X.EndDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is when I read into Qlikview without the, WHERE clause of cause, since I want to slice on EffectiveDate in Qlikview.&lt;/P&gt;&lt;P&gt;The EffectiveDate works but not the StartDate and EndDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anybody have an idea on how to get mimic this WHERE clause into Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;THANKS!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 13:37:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329491#M495056</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-02-29T13:37:23Z</dc:date>
    </item>
    <item>
      <title>Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329492#M495057</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If the above query works in SQL then it will also work in qlikview.You can also try with SQL before select statement.&lt;/P&gt;&lt;P&gt;SQL Select EffectiveDate, Value1, Value2, StartDate,EndDate&lt;/P&gt;&lt;P&gt;From X,Y&lt;/P&gt;&lt;P&gt;WHERE&amp;nbsp; Y.EffectiveDate = @EffectiveDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND @EffectiveDate Between X.StartDate and X.EndDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which database vendor you are using?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 13:52:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329492#M495057</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-02-29T13:52:18Z</dc:date>
    </item>
    <item>
      <title>Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329493#M495060</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;Is @EffectiveDate is a variable or Column name, if it is a column name it definitely works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Feb 2012 14:01:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329493#M495060</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2012-02-29T14:01:52Z</dc:date>
    </item>
    <item>
      <title>Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329494#M495062</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;@EffectiveDate is a Parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In SQL I have this query&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;Select EffectiveDate, Value1, Value2, StartDate,EndDate&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;From X,Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;WHERE&amp;nbsp; Y.EffectiveDate = @EffectiveDate&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AND @EffectiveDate Between X.StartDate and X.EndDate.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Qlikview I have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;LOAD *;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;SQL Select EffectiveDate, Value1, Value2, StartDate,EndDate&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial;"&gt;From X,Y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial; min-height: 8pt; height: 8pt;"&gt;I have removed the WHERE clause because I put the EffectiveDate in a listbox so I can slice the data&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial; min-height: 8pt; height: 8pt;"&gt;based on EffectiveDate, it basically mimics&amp;nbsp; the WHERE Y.EffectiveDate = @EffectiveDate&amp;nbsp; .&lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial; min-height: 8pt; height: 8pt;"&gt;But this does not give me the correct values for the StartDate and EndDate, &lt;/P&gt;&lt;P style="background-color: #eef4f9; font-size: 12px; color: #636363; font-family: Arial; min-height: 8pt; height: 8pt;"&gt;I cannot find a way to mimic WHERE &lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;@EffectiveDate Between X.StartDate and X.EndDate.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 06:22:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329494#M495062</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-01T06:22:38Z</dc:date>
    </item>
    <item>
      <title>Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329495#M495065</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Where your going to display this(Which chart type and dimensions) and what information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Can you give me a brief about your problem if i didn't understand clearly about your problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Solution to you based on my understanding&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Create &lt;STRONG&gt;Straight table&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; You can have&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;EffectiveDate, Value1, Value2, StartDate,EndDate as dimension&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Expression as &lt;STRONG&gt;=if(StartDate&amp;gt;=Max(EffectiveDate) AND EndDate&amp;lt;= Max(EffectiveDate),1)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Go to &lt;STRONG&gt;Presentation Tab&lt;/STRONG&gt; of the chart properties use &lt;STRONG&gt;Hide Column&lt;/STRONG&gt; option for the above Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 06:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329495#M495065</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-01T06:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329496#M495066</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;You can do this in two ways. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Method 1 : Create calendar , year, month and day for the effective date and select the required days&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg select 2011 , jan and days as 1 to 10.. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will work same as effectivdate &amp;gt;= 01-Jan-2011&amp;nbsp; and&amp;nbsp; &amp;lt;= 10-Jan-2011.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The disadvantage of the above case is selecting dates between two months like 15th jan to 15th Feb.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for such cases you can go by method2 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a calendar object and use two variables inside your reports.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attach a sample file . Ihope&amp;nbsp; that helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 06:47:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329496#M495066</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-03-01T06:47:17Z</dc:date>
    </item>
    <item>
      <title>Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329497#M495067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;﻿﻿﻿&lt;IMG alt="Case 1.PNG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/11790_Case+1.PNG" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now when I choose EffectiveDate = '31-12-2011'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want StartDate and EndDate to automatically filter i.e StartDate &amp;lt; EffectiveDate and EndDate&amp;gt; EffectiveDate.&lt;/P&gt;&lt;P&gt;In this case the only possible value for StartDate is '21-12-2011' and EndDate is '03/01/2012'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A StartDate such as '16-12-2011' is not a possibility, even though it is less than the EffectiveDate, since it's EndDate is '20-12-2011'.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 06:59:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329497#M495067</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-01T06:59:43Z</dc:date>
    </item>
    <item>
      <title>Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329498#M495068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This is default QV feature it shows the possible values based on the logical links between Startdate and end Date with the Effective date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Its like what all the startdates and end dates that matched with the effective date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In Query &lt;/P&gt;&lt;P&gt;SQL Select EffectiveDate, Value1, Value2, StartDate,EndDate&lt;/P&gt;&lt;P&gt;From X,Y&lt;/P&gt;&lt;P&gt;WHERE&amp;nbsp; Y.EffectiveDate = '31-12-2011'; this is what QV does it equals the selection to the same field in that way only List boxes designed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You Can Do this by expression i think&lt;/P&gt;&lt;P&gt; Check with this&lt;/P&gt;&lt;P&gt; &lt;STRONG&gt;=Aggr(if(StartDate&amp;gt;=Max(EffectiveDate) AND EndDate &amp;lt;= Max(EffectiveDate),StartDate),StartDate,EndDate)&lt;/STRONG&gt; for Start date list box.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;=Aggr(if(StartDate&amp;gt;=Max(EffectiveDate) AND EndDate &amp;lt;= Max(EffectiveDate),EndDate ),StartDate,EndDate)&lt;/STRONG&gt; for End date list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But it shows possible values only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 07:11:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329498#M495068</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-01T07:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329499#M495069</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;If you can attach a sample data , then it would be able to provide a work around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 07:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329499#M495069</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-03-01T07:18:15Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329500#M495070</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;I am not sure but&amp;nbsp; you can create the start date and end date from the script and check&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(num(if( num(StartDate) &amp;lt;= num(EffectiveDate) and EndDate &amp;gt;=&amp;nbsp; num(EffectiveDate) ,StartDate)),'DD-MM-YYYY') as StartDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Date(num(if( num(StartDate) &amp;lt;= num(EffectiveDate) and EndDate &amp;gt;=&amp;nbsp; num(EffectiveDate) ,EndDate)),'DD-MM-YYYY')&lt;/P&gt;&lt;P&gt;as EndDate&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 08:29:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329500#M495070</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-03-01T08:29:05Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329501#M495071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it not possible to write a SQL script as an Expression so I can filter the listbox with a SQL query.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I do not know how to create new objects based on an Expression.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I create a new Listbox and put &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;Date(num(if( num(StartDate) &amp;lt;= num(EffectiveDate) and EndDate &amp;gt;=&amp;nbsp; num(EffectiveDate) ,StartDate)),'DD-MM-YYYY') as StartDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #ffffff;"&gt;in an expression I get an error, saying "garbage after as".&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 08:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329501#M495071</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-01T08:35:28Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329502#M495072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; In list box you should use only expression not the alias.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; like&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Date(num(if( num(StartDate) &amp;lt;= num(EffectiveDate) and EndDate &amp;gt;=&amp;nbsp; num(EffectiveDate) ,StartDate)),'DD-MM-YYYY')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Celambarasan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 08:43:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329502#M495072</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-01T08:43:17Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329503#M495073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Did you tried with this expression in listbox&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; =&lt;STRONG style="font-size: 12px;"&gt;Aggr(if(StartDate&amp;gt;=Max(EffectiveDate) AND EndDate &amp;lt;= Max(EffectiveDate),StartDate),StartDate,EndDate)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 12px;"&gt;Celambarasan&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 08:44:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329503#M495073</guid>
      <dc:creator>CELAMBARASAN</dc:creator>
      <dc:date>2012-03-01T08:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329504#M495074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have tried that way and numerous others.&lt;/P&gt;&lt;P&gt;I get the same results.&lt;/P&gt;&lt;P&gt;I will have to find a work around.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank All of You for your Help and Assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 08:47:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329504#M495074</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-01T08:47:46Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329505#M495075</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;Just to add to the above post. You can add to the sql statement by using Load statement before Sql. It will look something similar to below one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Date(num(if( num(StartDate) &amp;lt;= num(EffectiveDate) and EndDate &amp;gt;=&amp;nbsp; num(EffectiveDate) ,StartDate)),'DD-MM-YYYY') as StartDate,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial; min-height: 8pt; height: 8pt;"&gt; Date(num(if( num(StartDate) &amp;lt;= num(EffectiveDate) and EndDate &amp;gt;=&amp;nbsp; num(EffectiveDate) ,EndDate)),'DD-MM-YYYY')&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;as EndDate,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;EffectiveDate, Value1, Value2;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;select * from XY;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;or&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Use the resident to create an instance of sql table and use the logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Select * from X;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Load &lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;Date(num(if( num(StartDate) &amp;lt;= num(EffectiveDate) and EndDate &amp;gt;=&amp;nbsp; num(EffectiveDate) ,StartDate)),'DD-MM-YYYY') as StartDate,&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial; min-height: 8pt;"&gt; Date(num(if( num(StartDate) &amp;lt;= num(EffectiveDate) and EndDate &amp;gt;=&amp;nbsp; num(EffectiveDate) ,EndDate)),'DD-MM-YYYY')&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;as EndDate,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;resident X;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; font-size: 12px; color: #636363; font-family: Arial;"&gt;&lt;SPAN style="color: #636363; font-family: Arial; font-size: 12px; background-color: #eef4f9;"&gt;Deepak&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 08:53:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329505#M495075</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-03-01T08:53:43Z</dc:date>
    </item>
    <item>
      <title>Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329506#M495076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;EffectiveDate will be changing all the time depending on your selection so I cannot Reload different StartDates and EndDates when EffectiveDate changes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 09:10:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329506#M495076</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-01T09:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329507#M495077</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;I think you understood me wrongly.&amp;nbsp; When you dod it at script. Each effective date is getting linked to start date based on the logic. Hence when you make a selection in the front end it will display you the respective result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The logic is same if you do it front end or back end. The advantage of doing at back end is the time request to process the data will be reduce hence it will much faster.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 09:45:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329507#M495077</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-03-01T09:45:52Z</dc:date>
    </item>
    <item>
      <title>Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329508#M495078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks that helps alot, it filters out correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I select automatically all available values in a Field. I want to select all StartDates values, as I click on an EffectiveDate?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/11810_Capture.PNG" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 10:34:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329508#M495078</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-01T10:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329509#M495079</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;Why do u wan to select it&amp;nbsp; ? Selecting eefective date means you are selecting the respective start date and end date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I dont think there is any need to select Start date or end date manually.!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Deepak&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 11:29:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329509#M495079</guid>
      <dc:creator>deepakk</dc:creator>
      <dc:date>2012-03-01T11:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series and Parameters</title>
      <link>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329510#M495080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it Working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for all Your Help. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2012 11:43:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Time-Series-and-Parameters/m-p/329510#M495080</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-01T11:43:32Z</dc:date>
    </item>
  </channel>
</rss>

