<?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: QlikView Day Index in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015468#M344205</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, 100%&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Mar 2016 08:38:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2016-03-07T08:38:25Z</dc:date>
    <item>
      <title>QlikView Day Index</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015463#M344200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Lao UI','sans-serif'; color: #404040;"&gt;Hi &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Lao UI','sans-serif'; color: #404040;"&gt;I know we create a month index from the following in script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Year&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;) * 12 + &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;num&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;Month&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style="color: gray; font-size: 9.0pt; font-family: 'Courier New';"&gt;$(i)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;),'00') &lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: blue;"&gt;as&lt;/SPAN&gt; &lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: maroon;"&gt;MonthIndex&lt;/SPAN&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Courier New'; color: black;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will help compare current year data up to today with Prev Year Data up to the same day in the prev year.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Lao UI','sans-serif'; color: #404040;"&gt;Any help with a solution will be appreciated&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Lao UI','sans-serif'; color: #404040;"&gt;Thank you,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 9.0pt; font-family: 'Lao UI','sans-serif'; color: #404040;"&gt;Chris &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 06:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015463#M344200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-07T06:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Day Index</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015464#M344201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Chris,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry but I couldnt understand your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please explain with some example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 07:23:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015464#M344201</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-03-07T07:23:53Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Day Index</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015465#M344202</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;Below link might be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlikview.com/thread/58538" title="https://community.qlikview.com/thread/58538"&gt;Rolling 3, 6 and 12 months calculation | Qlik Community&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 07:27:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015465#M344202</guid>
      <dc:creator>tamilarasu</dc:creator>
      <dc:date>2016-03-07T07:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Day Index</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015466#M344203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kaushik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to compare Value in my model for Current year vs Prior year.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I need to compare for example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year = {"$(vMaxYear)"}&amp;gt;}Value) - which is the sum Value for this year up to &lt;STRONG&gt;7 March 2016&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;And want to compare this with&lt;/STRONG&gt; &lt;/P&gt;&lt;P&gt;sum({&amp;lt;Year = {"$(vPrevYear)"}, MonthIndex = {"&amp;lt;=$(vPrevMonthIndex)"}&amp;gt;}Value)&lt;/P&gt;&lt;P&gt;This Answer give me the Sum of Value for 2015 up to end of March 2015. &lt;/P&gt;&lt;P&gt;I want to limit this answer to Sum of Value up to &lt;STRONG&gt;07 March 2015.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas of how we can do this so we compare vMaxYear with vPrevYear up to &lt;STRONG&gt;day level&lt;/STRONG&gt; and not just Month Level?&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plus.png" /&gt; I think we need to Create a day index in script and then use max and prev in variables... but not sure how to script the &lt;STRONG&gt;DayIndex in backend&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="text-decoration: underline;"&gt;Additional Variables:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;vMaxYear = max(Year)&lt;/P&gt;&lt;P&gt;vPrevYear = vMaxYear-1&lt;/P&gt;&lt;P&gt;vMaxMonthIndex =max(MonthIndex)&lt;/P&gt;&lt;P&gt;vPrevMonthIndex =vMaxMonthIndex-12&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Chris Neumann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 07:47:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015466#M344203</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-07T07:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Day Index</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015467#M344204</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 will have to work with dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sum({&amp;lt;Date = {"&amp;gt;=$(=Addyears(Yearstart(Max(Date)),-1))&amp;lt;=$(=Addyears(Max(Date),-1))"},Year=,Month=&amp;gt;}Sales)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give your Previous Year YTD.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 07:59:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015467#M344204</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2016-03-07T07:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView Day Index</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015468#M344205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, 100%&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Mar 2016 08:38:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-Day-Index/m-p/1015468#M344205</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-03-07T08:38:25Z</dc:date>
    </item>
  </channel>
</rss>

