<?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 How to create Week On Week report when we don't have consistent data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521572#M194902</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 want to create a Week On Week chart to find out the increase in utlization of space in mounted folder, DB tables and ETL.As per the normal schedule a PROC will run every monday and inserts space details in a table(It inserts once in a week). If everything goes right as per the schedule I can make use of Max(Date) or Max(Week(Date)))to find out space occupied currently and Max(Date)-7 or Max(Week(Date)))-1 to find out space occupied in the previous week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if the PROC didn't run on Monday due to some reasons and it ran only on tuesday. Max(Date)-7 or Max(Week(Date)))-1 will not work out as the PROC ran one day later. Also if the PROC ran on tuesday and wednesday, Max(Week(Date)))-1 may give some of of both the dates which will show up double the space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So can some one help us on how to go about this requirement? I am little confused on how to go about this requirement. Any help on this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;qvforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Oct 2013 17:06:51 GMT</pubDate>
    <dc:creator>qlikviewforum</dc:creator>
    <dc:date>2013-10-24T17:06:51Z</dc:date>
    <item>
      <title>How to create Week On Week report when we don't have consistent data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521572#M194902</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 want to create a Week On Week chart to find out the increase in utlization of space in mounted folder, DB tables and ETL.As per the normal schedule a PROC will run every monday and inserts space details in a table(It inserts once in a week). If everything goes right as per the schedule I can make use of Max(Date) or Max(Week(Date)))to find out space occupied currently and Max(Date)-7 or Max(Week(Date)))-1 to find out space occupied in the previous week.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if the PROC didn't run on Monday due to some reasons and it ran only on tuesday. Max(Date)-7 or Max(Week(Date)))-1 will not work out as the PROC ran one day later. Also if the PROC ran on tuesday and wednesday, Max(Week(Date)))-1 may give some of of both the dates which will show up double the space.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So can some one help us on how to go about this requirement? I am little confused on how to go about this requirement. Any help on this please?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;qvforum&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 17:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521572#M194902</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2013-10-24T17:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Week On Week report when we don't have consistent data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521573#M194903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Assign every PROC run an incremental numeric identifier. Autonumber(Date,'Run') as RunNo would do. You can then use max(RunNo) and max(RunNo)-1 instead.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 17:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521573#M194903</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-24T17:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Week On Week report when we don't have consistent data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521574#M194904</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;When your PROC runs and concatenates that weeks data on, why not store it against the Week() as opposed to the Date() ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Oct 2013 19:16:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521574#M194904</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-24T19:16:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Week On Week report when we don't have consistent data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521575#M194905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If the PROC ran on two consective days then how we can use&amp;nbsp; max(RunNo)-1 for Week On Week report? Please advice...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 05:46:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521575#M194905</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2013-10-25T05:46:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Week On Week report when we don't have consistent data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521576#M194906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You mean to say every week data I need to concatenate it? Like if the PROC ran twice in a week how do I store only the latest into the QVD? Please attach some application if you can. It will help me...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 05:49:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521576#M194906</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2013-10-25T05:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Week On Week report when we don't have consistent data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521577#M194907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now my new plan was to generate 2 below fields,&lt;/P&gt;&lt;P&gt;Year(ReloadTime()) as Year&lt;/P&gt;&lt;P&gt;Week(ReloadTime()) as Week&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While storing the QVD I am postfixing it with Year and Month. So we will have single weekly qvd which contains the weekly data. Something like below,&lt;/P&gt;&lt;P&gt;QVDNAME.YYYY_WW&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I load load only those QVD's. Max(Week) and Max(Week)-1 to find the growth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Now I got stuck on how to load data from latest two weeks data. Please help...&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 11:16:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521577#M194907</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2013-10-25T11:16:49Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to create Week On Week report when we don't have consistent data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521578#M194908</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;This script excerpt should, I hope, give you the concept and syntax you are after.&amp;nbsp; You will need to put the bits you into your script &amp;amp; adjust it to your needs&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;BB :&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;LOAD * INLINE [&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; F1&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; BB Test&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;];&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;let vYear = Year(today()) ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;let vWeek1 = Week(today()) ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;let vWeek2 = Week(today()) -1 ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;let vQvdFile1 = 'QVDNAME.' &amp;amp; $(vYear) &amp;amp; '_' &amp;amp; $(vWeek1) &amp;amp; '.qvd' ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;let vQvdFile2 = 'QVDNAME.' &amp;amp; $(vYear) &amp;amp; '_' &amp;amp; $(vWeek2) &amp;amp; '.qvd' ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;Store BB into $(vQvdFile1) (qvd) ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;Store BB into $(vQvdFile2) (qvd) ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;Drop table BB&amp;nbsp; ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;CC1:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;*&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;from&amp;nbsp; $(vQvdFile1) (qvd) ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;CC2:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;load&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;*&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;from&amp;nbsp; $(vQvdFile2) (qvd) ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px;"&gt;&lt;SPAN style="color: #993300;"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #993300;"&gt;&lt;SPAN style="color: #000000;"&gt;Best regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 11:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521578#M194908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-25T11:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Re: How to create Week On Week report when we don't have consistent data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521579#M194909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. I will update you once I try.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One quick question. I think it may not work if I am trying to load first week of 2013 and last week of 2012 as we are using Year(today()). Please correct me if I am wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide me some other solution if you feel that it wont work as I thought.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 12:36:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521579#M194909</guid>
      <dc:creator>qlikviewforum</dc:creator>
      <dc:date>2013-10-25T12:36:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to create Week On Week report when we don't have consistent data</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521580#M194910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will have to careful with the weeks at the end &amp;amp; beginning of Years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This could help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #993300;"&gt;&lt;EM style="font-family: inherit;"&gt;let vYearThisWeek = Year(today()) ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #993300;"&gt;&lt;EM style="font-family: inherit;"&gt;let vWeek&lt;EM style="color: #993300; font-family: inherit;"&gt;ThisWeek&lt;/EM&gt; = Week(today()) ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #993300;"&gt;&lt;EM style="font-family: inherit;"&gt;&lt;EM style="color: #993300; font-family: inherit;"&gt;let vYear&lt;EM style="color: #993300; font-family: inherit;"&gt;LastWeek&lt;/EM&gt; = Year(today()-7) ;&lt;/EM&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit; color: #993300;"&gt;&lt;EM style="font-family: inherit;"&gt;let vWeek&lt;EM style="color: #993300; font-family: inherit;"&gt;LastWeek&lt;/EM&gt; = Week(today()-7)&amp;nbsp; ;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Best Regards&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="padding-left: 30px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Code"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Oct 2013 13:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-create-Week-On-Week-report-when-we-don-t-have-consistent/m-p/521580#M194910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-25T13:19:47Z</dc:date>
    </item>
  </channel>
</rss>

