<?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: Single Date column with slowly changing dimention. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Single-Date-column-with-slowly-changing-dimention/m-p/522435#M195200</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should take a look at the two following blog posts. I think they are relevant to what you want to do.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/02/25/creating-intervals-from-change-dates" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/25/creating-intervals-from-change-dates"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/25/creating-intervals-from-change-dates&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/06/03/slowly-changing-dimensions" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/06/03/slowly-changing-dimensions"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/06/03/slowly-changing-dimensions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Dec 2013 17:05:23 GMT</pubDate>
    <dc:creator>hic</dc:creator>
    <dc:date>2013-12-03T17:05:23Z</dc:date>
    <item>
      <title>Single Date column with slowly changing dimention.</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Date-column-with-slowly-changing-dimention/m-p/522434#M195199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi friends. &lt;BR /&gt;I've got some problem. &lt;BR /&gt;Help me to solve it.&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="someProblem.png" class="jive-image" src="https://community.qlik.com/legacyfs/online/49914_someProblem.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a single Date column and I know that's DateFrom, i'm searching for DateTo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some peace of my script:&lt;/P&gt;&lt;P&gt;_____________________________________________________________________&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[temp]:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; SalesPoint, &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Manager&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;FROM&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[$(vData2)\ManagersHistory.qvd](qvd)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Where Date&amp;gt;MakeDate(2013,1,1);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[temp2]:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; *,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; if([Date]=Peek([Date]) and Manager=Peek(Manager),'???',date(Now())) as DateTill;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; *&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Resident temp&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Order by &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Manager,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp; Date desc;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DROP Table temp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;___________________________________________________&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;??? - I have no any Idea how to get date for those Manager.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;For example, as we look above:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the SalesPoint - X and Manager Y with DateFrom (01.02.2013) i need the Manager Z with DateFrom &lt;/P&gt;&lt;P&gt;(01.04.2013), DateTill should be for Manager Y. For the SalesPoint - X and Manager Y with DateFrom (01.02.2013)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the SalesPoint - X and Manager Z with DateFrom (01.04.2013) &lt;/P&gt;&lt;P&gt;i need the Manager W with DateFrom &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;(01.05.2013), DateTill should be for Manager Z..&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And so on...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pleace help me with that. &lt;BR /&gt;Thnx.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 17:00:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Date-column-with-slowly-changing-dimention/m-p/522434#M195199</guid>
      <dc:creator>lylererger</dc:creator>
      <dc:date>2013-12-03T17:00:05Z</dc:date>
    </item>
    <item>
      <title>Re: Single Date column with slowly changing dimention.</title>
      <link>https://community.qlik.com/t5/QlikView/Single-Date-column-with-slowly-changing-dimention/m-p/522435#M195200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think you should take a look at the two following blog posts. I think they are relevant to what you want to do.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/02/25/creating-intervals-from-change-dates" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/25/creating-intervals-from-change-dates"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/02/25/creating-intervals-from-change-dates&lt;/A&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/blogs/qlikviewdesignblog/2013/06/03/slowly-changing-dimensions" title="http://community.qlik.com/blogs/qlikviewdesignblog/2013/06/03/slowly-changing-dimensions"&gt;http://community.qlik.com/blogs/qlikviewdesignblog/2013/06/03/slowly-changing-dimensions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HIC&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Dec 2013 17:05:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Single-Date-column-with-slowly-changing-dimention/m-p/522435#M195200</guid>
      <dc:creator>hic</dc:creator>
      <dc:date>2013-12-03T17:05:23Z</dc:date>
    </item>
  </channel>
</rss>

