<?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: Weekly Calculation in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931588#M322013</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure you can find help here, but it would make things a lot easier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- if you give feedback to the suggested solution (see my first post, haven't heard anything from you why this is not working)&lt;/P&gt;&lt;P&gt;- if you post a small sample data record set (like shown in your attached image, but not as image, but as e.g. INLINE table or Excel file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, if you want to group your &lt;EM&gt;Date&lt;/EM&gt; field values into ranges from Mon 6 AM to next Mon 5:59, something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; Weekstart(Daystart(&lt;EM&gt;Date&lt;/EM&gt;, 0, 0.25),0, 0.25) as Weekstart,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your load script or as calculated dimension should do the grouping. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Aug 2015 16:05:48 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2015-08-31T16:05:48Z</dc:date>
    <item>
      <title>Weekly Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931583#M322008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif';"&gt;Can anyone help in weekly calcualtion as below,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Arial','sans-serif';"&gt;Week Starts Monday at 6:00 am and ends next Monday at 5:59am&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 20:19:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931583#M322008</guid>
      <dc:creator>santharubban</dc:creator>
      <dc:date>2015-08-28T20:19:50Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931584#M322009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is not much of information given here, but I assume you may want something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weekstart(Daystart(Timestamp, 0, 0.25),0, 0.25) as Weekstart,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Weekday(Timestamp) as WeekDay;&lt;/P&gt;&lt;P&gt;LOAD Timestamp(RAND() + MakeDate(2015, 8)+floor(RAND()*31)) as Timestamp,&lt;/P&gt;&lt;P&gt;&amp;nbsp; RAND() * 100 as Value&lt;/P&gt;&lt;P&gt;autogenerate 1000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use &lt;EM&gt;Weekstart&lt;/EM&gt; field to group your Timestamps in your given range, Mo 6:00 AM to next Mo 5:59 AM.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 21:04:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931584#M322009</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-28T21:04:30Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931585#M322010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Swuehl..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to calculate work done for each week, but week are consider&amp;nbsp; monday 6.00am&amp;nbsp; to monday 5.59am.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: Arial, sans-serif; font-size: 16px;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 21:22:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931585#M322010</guid>
      <dc:creator>santharubban</dc:creator>
      <dc:date>2015-08-28T21:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931586#M322011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Understood. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you tried what I suggested above?&lt;/P&gt;&lt;P&gt;I assume your work done records show a related timestamp, so it should be easy to translate the above sample code to your setting (and if you find it hard to apply to your setting, why don't you post some sample lines of your data?).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Aug 2015 21:39:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931586#M322011</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-28T21:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931587#M322012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anyone help me in Weekly calculation,&lt;/P&gt;&lt;P&gt;if week starts on 8/24, then i need to calculate number of days for 8/24 6.00 am to 8/31 5.59 am. Pls find attached the highlighted records should not calculated for 8/24 week.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 15:48:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931587#M322012</guid>
      <dc:creator>santharubban</dc:creator>
      <dc:date>2015-08-31T15:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Calculation</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931588#M322013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sure you can find help here, but it would make things a lot easier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- if you give feedback to the suggested solution (see my first post, haven't heard anything from you why this is not working)&lt;/P&gt;&lt;P&gt;- if you post a small sample data record set (like shown in your attached image, but not as image, but as e.g. INLINE table or Excel file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Again, if you want to group your &lt;EM&gt;Date&lt;/EM&gt; field values into ranges from Mon 6 AM to next Mon 5:59, something like &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; Weekstart(Daystart(&lt;EM&gt;Date&lt;/EM&gt;, 0, 0.25),0, 0.25) as Weekstart,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in your load script or as calculated dimension should do the grouping. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Aug 2015 16:05:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Calculation/m-p/931588#M322013</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2015-08-31T16:05:48Z</dc:date>
    </item>
  </channel>
</rss>

