<?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: numbers between in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/numbers-between/m-p/532010#M198744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Starting from the document above (&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="3786" data-objecttype="102" href="https://community.qlik.com/docs/DOC-3786" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;http://community.qlik.com/docs/DOC-3786&lt;/A&gt;), in your case the code should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep='.';&lt;/P&gt;&lt;P&gt;SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='€ #.##0,00;-€ #.##0,00';&lt;/P&gt;&lt;P&gt;SET TimeFormat='hh:mm:ss';&lt;/P&gt;&lt;P&gt;SET DateFormat='MM/DD/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='MM/DD/YYYY hh:mm:ss[.fff]';&lt;/P&gt;&lt;P&gt;SET MonthNames='gen;feb;mar;apr;mag;giu;lug;ago;set;ott;nov;dic';&lt;/P&gt;&lt;P&gt;SET DayNames='lun;mar;mer;gio;ven;sab;dom';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempTable:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Item,Date,Price&lt;/P&gt;&lt;P&gt;A,10/1/2010,100&lt;/P&gt;&lt;P&gt;A,10/2/2010,100&lt;/P&gt;&lt;P&gt;A,10/4/2010,100&lt;/P&gt;&lt;P&gt;A,10/7/2010,100&lt;/P&gt;&lt;P&gt;A,10/10/2010,150&lt;/P&gt;&lt;P&gt;A,10/11/2010,150&lt;/P&gt;&lt;P&gt;A,10/16/2010,150&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MinMaxDate:&lt;/P&gt;&lt;P&gt;Load Min(Date) as MinDate, Max(Date) as MaxDate resident TempTable;&lt;/P&gt;&lt;P&gt;Let vMinDate = Peek('MinDate',-1,'MinMaxDate') - 1;&lt;/P&gt;&lt;P&gt;Let vMaxDate = Peek('MaxDate',-1,'MinMaxDate') ;&lt;/P&gt;&lt;P&gt;Drop Table MinMaxDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join (TempTable)&lt;/P&gt;&lt;P&gt;Load Date(recno()+$(vMinDate)) as Date Autogenerate vMaxDate - vMinDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;NoConcatenate Load &lt;/P&gt;&lt;P&gt;If( IsNull( Item ), Peek( Item ), Item ) as Item,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;If( IsNull( Price ), Peek( Price ), Price ) as Price&lt;/P&gt;&lt;P&gt;Resident TempTable&lt;/P&gt;&lt;P&gt;Order By Date; &lt;/P&gt;&lt;P&gt;Drop Table TempTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Dec 2013 20:51:56 GMT</pubDate>
    <dc:creator>maxgro</dc:creator>
    <dc:date>2013-12-29T20:51:56Z</dc:date>
    <item>
      <title>numbers between</title>
      <link>https://community.qlik.com/t5/QlikView/numbers-between/m-p/532007#M198741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;i have this data&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Item,Date,Price&lt;/P&gt;&lt;P&gt;A,10/1/2010,100&lt;/P&gt;&lt;P&gt;A,10/2/2010,100&lt;/P&gt;&lt;P&gt;A,10/4/2010,100&lt;/P&gt;&lt;P&gt;A,10/7/2010,100&lt;/P&gt;&lt;P&gt;A,10/10/2010,150&lt;/P&gt;&lt;P&gt;A,10/11/2010,150&lt;/P&gt;&lt;P&gt;A,10/16/2010,150&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;as cleared above @ 10/10/2010 the price changed and become 150&lt;/P&gt;&lt;P&gt;if the price changed all dates above it their price will be the old one which is 100&lt;/P&gt;&lt;P&gt;i want to retrieve the dates between and their price &lt;/P&gt;&lt;P&gt;i.e i want the result to be&lt;/P&gt;&lt;P&gt;Item,Date,Price&lt;/P&gt;&lt;P&gt;A,10/1/2010,100&lt;/P&gt;&lt;P&gt;A,10/2/2010,100&lt;/P&gt;&lt;P&gt;A,10/3/2010,100&lt;/P&gt;&lt;P&gt;A,10/4/2010,100&lt;/P&gt;&lt;P&gt;A,10/5/2010,100&lt;/P&gt;&lt;P&gt;A,10/6/2010,100&lt;/P&gt;&lt;P&gt;A,10/7/2010,100&lt;/P&gt;&lt;P&gt;A,108/2010,100&lt;/P&gt;&lt;P&gt;A,10/9/2010,100&lt;/P&gt;&lt;P&gt;A,10/10/2010,150&lt;/P&gt;&lt;P&gt;A,10/11/2010,150&lt;/P&gt;&lt;P&gt;A,10/12/2010,150&lt;/P&gt;&lt;P&gt;A,10/13/2010,150&lt;/P&gt;&lt;P&gt;A,10/14/2010,150&lt;/P&gt;&lt;P&gt;A,10/15/2010,150&lt;/P&gt;&lt;P&gt;A,10/16/2010,150&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how to do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 09:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/numbers-between/m-p/532007#M198741</guid>
      <dc:creator />
      <dc:date>2013-12-29T09:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: numbers between</title>
      <link>https://community.qlik.com/t5/QlikView/numbers-between/m-p/532008#M198742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;download this good pdf doc (Generating Missing Data In Qlikview) at&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-3786" style="font-size: 10pt; line-height: 1.5em;"&gt;http://community.qlik.com/docs/DOC-3786&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and goto pag. 7&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 10:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/numbers-between/m-p/532008#M198742</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2013-12-29T10:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: numbers between</title>
      <link>https://community.qlik.com/t5/QlikView/numbers-between/m-p/532009#M198743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Find the attachment might be helpful &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 11:36:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/numbers-between/m-p/532009#M198743</guid>
      <dc:creator>qlikpahadi07</dc:creator>
      <dc:date>2013-12-29T11:36:09Z</dc:date>
    </item>
    <item>
      <title>Re: numbers between</title>
      <link>https://community.qlik.com/t5/QlikView/numbers-between/m-p/532010#M198744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Starting from the document above (&lt;A _jive_internal="true" data-containerid="2049" data-containertype="14" data-objectid="3786" data-objecttype="102" href="https://community.qlik.com/docs/DOC-3786" style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;http://community.qlik.com/docs/DOC-3786&lt;/A&gt;), in your case the code should be&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SET ThousandSep='.';&lt;/P&gt;&lt;P&gt;SET DecimalSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyThousandSep='.';&lt;/P&gt;&lt;P&gt;SET MoneyDecimalSep=',';&lt;/P&gt;&lt;P&gt;SET MoneyFormat='€ #.##0,00;-€ #.##0,00';&lt;/P&gt;&lt;P&gt;SET TimeFormat='hh:mm:ss';&lt;/P&gt;&lt;P&gt;SET DateFormat='MM/DD/YYYY';&lt;/P&gt;&lt;P&gt;SET TimestampFormat='MM/DD/YYYY hh:mm:ss[.fff]';&lt;/P&gt;&lt;P&gt;SET MonthNames='gen;feb;mar;apr;mag;giu;lug;ago;set;ott;nov;dic';&lt;/P&gt;&lt;P&gt;SET DayNames='lun;mar;mer;gio;ven;sab;dom';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TempTable:&lt;/P&gt;&lt;P&gt;LOAD * Inline [&lt;/P&gt;&lt;P&gt;Item,Date,Price&lt;/P&gt;&lt;P&gt;A,10/1/2010,100&lt;/P&gt;&lt;P&gt;A,10/2/2010,100&lt;/P&gt;&lt;P&gt;A,10/4/2010,100&lt;/P&gt;&lt;P&gt;A,10/7/2010,100&lt;/P&gt;&lt;P&gt;A,10/10/2010,150&lt;/P&gt;&lt;P&gt;A,10/11/2010,150&lt;/P&gt;&lt;P&gt;A,10/16/2010,150&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MinMaxDate:&lt;/P&gt;&lt;P&gt;Load Min(Date) as MinDate, Max(Date) as MaxDate resident TempTable;&lt;/P&gt;&lt;P&gt;Let vMinDate = Peek('MinDate',-1,'MinMaxDate') - 1;&lt;/P&gt;&lt;P&gt;Let vMaxDate = Peek('MaxDate',-1,'MinMaxDate') ;&lt;/P&gt;&lt;P&gt;Drop Table MinMaxDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Join (TempTable)&lt;/P&gt;&lt;P&gt;Load Date(recno()+$(vMinDate)) as Date Autogenerate vMaxDate - vMinDate;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table:&lt;/P&gt;&lt;P&gt;NoConcatenate Load &lt;/P&gt;&lt;P&gt;If( IsNull( Item ), Peek( Item ), Item ) as Item,&lt;/P&gt;&lt;P&gt;Date,&lt;/P&gt;&lt;P&gt;If( IsNull( Price ), Peek( Price ), Price ) as Price&lt;/P&gt;&lt;P&gt;Resident TempTable&lt;/P&gt;&lt;P&gt;Order By Date; &lt;/P&gt;&lt;P&gt;Drop Table TempTable;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Dec 2013 20:51:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/numbers-between/m-p/532010#M198744</guid>
      <dc:creator>maxgro</dc:creator>
      <dc:date>2013-12-29T20:51:56Z</dc:date>
    </item>
  </channel>
</rss>

