<?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 Cycle in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486615#M181791</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a week field in load script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * ,&lt;/P&gt;&lt;P&gt;week(Date) as Week Num&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then take pivot table, add [Call Answered Field] to your first dimension and week-number to your second dimension,&lt;/P&gt;&lt;P&gt;and then select and drag up&amp;nbsp; week number dimension to horizontal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Nov 2013 11:00:15 GMT</pubDate>
    <dc:creator>israrkhan</dc:creator>
    <dc:date>2013-11-06T11:00:15Z</dc:date>
    <item>
      <title>Weekly Cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486614#M181790</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;&lt;/P&gt;&lt;P&gt;Not sure if there is any interesting method in achieving something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 963px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl70" height="20" width="241"&gt; &lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="105"&gt;16/09/2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="105"&gt;23/09/2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="105"&gt;30/09/2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="105"&gt;07/10/2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="105"&gt;14/10/2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="105"&gt;21/10/2013&lt;/TD&gt;&lt;TD align="right" class="xl65" style="border-left: none;" width="92"&gt;28/10/2013&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl72" height="20"&gt;Call Answered&lt;/TD&gt;&lt;TD align="right" class="xl68"&gt;1234&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;2342&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;2342&lt;/TD&gt;&lt;TD align="right" class="xl66" style="border-top: none; border-left: none;"&gt;234&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;23423&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;15127&lt;/TD&gt;&lt;TD align="right" class="xl67" style="border-left: none;"&gt;16357&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl73" height="20"&gt;Calls Rejected&lt;/TD&gt;&lt;TD align="right" class="xl69"&gt;4324&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: none;"&gt;2342&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: none;"&gt;2432&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: none;"&gt;23423&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: none;"&gt;234&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: none;"&gt;19269&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-left: none;"&gt;21508&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl71" height="20"&gt;Emails&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;423423&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2342&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;242&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2342&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2342&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;5713&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;3773&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl64" height="20" style="border-top: none;"&gt;Web Views&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;4234&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2432&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2342&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;2342&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;234234&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;130507&lt;/TD&gt;&lt;TD align="right" class="xl63" style="border-top: none; border-left: none;"&gt;138090&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where I would have a daily record but I need to represent the figures on weekly cycle starting on Mondays for the past 7 weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas? Do I need to use the Ceil function?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 10:45:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486614#M181790</guid>
      <dc:creator>stevegimbrollmt</dc:creator>
      <dc:date>2013-11-06T10:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486615#M181791</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;create a week field in load script,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;load * ,&lt;/P&gt;&lt;P&gt;week(Date) as Week Num&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from .......&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and then take pivot table, add [Call Answered Field] to your first dimension and week-number to your second dimension,&lt;/P&gt;&lt;P&gt;and then select and drag up&amp;nbsp; week number dimension to horizontal.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 11:00:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486615#M181791</guid>
      <dc:creator>israrkhan</dc:creator>
      <dc:date>2013-11-06T11:00:15Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486616#M181792</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You want to show only the values of the mondays? In that case you could create a flag field in the script for the mondays:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Load x,y,z,&lt;/P&gt;&lt;P&gt;MyDate,&lt;/P&gt;&lt;P&gt;if(weekday(MyDate)=1,1,0) as IsMonday&lt;/P&gt;&lt;P&gt;from ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can then adapt your expression using the new IsMonday field. Count(Value) would become count({&amp;lt;IsMonday={1}&amp;gt;}Value).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to show weekly totals, but show the dates of the mondays you create a field StartOfWeek: weekstart(MyDate) as StartOfWeek. You can then use this field as dimension instead of MyDate.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 11:00:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486616#M181792</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-11-06T11:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486617#M181793</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That would be good for Mondays but as you asked,&amp;nbsp; the values I need them still to be weekly but sort of the date start of the week would be the Monday as I shown in the sample above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your feedback&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 11:04:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486617#M181793</guid>
      <dc:creator>stevegimbrollmt</dc:creator>
      <dc:date>2013-11-06T11:04:51Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486618#M181794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have used&amp;nbsp; =&lt;STRONG&gt;WeekStart(Date)&lt;/STRONG&gt; in the &lt;STRONG&gt;Calculated Dimension&lt;/STRONG&gt; and it seems I got what I needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All I need to do now is do it for only the last 7 weeks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks..&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 11:10:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486618#M181794</guid>
      <dc:creator>stevegimbrollmt</dc:creator>
      <dc:date>2013-11-06T11:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486619#M181795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can limited that in the expression. Something like this:&lt;/P&gt;&lt;P&gt;count(&lt;STRONG&gt;{&amp;lt;Date={'&amp;gt;$(=max(Date)-49)&amp;lt;=$(=max(Date))'}&amp;gt;}&lt;/STRONG&gt;Value)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps you'll want to use a weekstart in there too if your max Date isn't a monday.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Nov 2013 11:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486619#M181795</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-11-06T11:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Weekly Cycle</title>
      <link>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486620#M181796</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I did something simliar but I just created a Week field and worked on that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically did thse 2 steps: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; =&lt;/SPAN&gt;&lt;STRONG style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;WeekStart(Date)&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; in the Calc Dimension&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Sum({&amp;lt;WeekField={'&amp;lt;=$(=max(WeekField))&amp;gt;$(=max(WeekField)-6')&amp;gt;}Value) &lt;/STRONG&gt;in the expression&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2013 09:47:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Weekly-Cycle/m-p/486620#M181796</guid>
      <dc:creator>stevegimbrollmt</dc:creator>
      <dc:date>2013-11-07T09:47:42Z</dc:date>
    </item>
  </channel>
</rss>

