<?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 Set Analysis and Multiple Calendarss in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Multiple-Calendarss/m-p/196711#M56658</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(InWeekToDate(D, Today(), 0)*-1 as CalendarCurrWTDFlag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;CalendarCurrWTDFlag={1}&amp;gt;} price )&lt;BR /&gt;&lt;BR /&gt;So this basic extraction from my script and expression (in a table) shows you a basic idea of how we are trying to calculate total sales within the current week (month, year, etc).&lt;BR /&gt;&lt;BR /&gt;My only problem is that not until long after having built this set of scripts did I realize that the day of the week begins on Monday instead of Sunday (therefore throwing off all of our calculations.&lt;BR /&gt;&lt;BR /&gt;Is there an easier way to reinject the days of the week as Sunday-Saturday now that all of my work is done?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Apr 2011 16:04:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-04-04T16:04:39Z</dc:date>
    <item>
      <title>Set Analysis and Multiple Calendarss</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Multiple-Calendarss/m-p/196711#M56658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;(InWeekToDate(D, Today(), 0)*-1 as CalendarCurrWTDFlag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=&lt;/P&gt;&lt;P&gt;Sum({$&amp;lt;CalendarCurrWTDFlag={1}&amp;gt;} price )&lt;BR /&gt;&lt;BR /&gt;So this basic extraction from my script and expression (in a table) shows you a basic idea of how we are trying to calculate total sales within the current week (month, year, etc).&lt;BR /&gt;&lt;BR /&gt;My only problem is that not until long after having built this set of scripts did I realize that the day of the week begins on Monday instead of Sunday (therefore throwing off all of our calculations.&lt;BR /&gt;&lt;BR /&gt;Is there an easier way to reinject the days of the week as Sunday-Saturday now that all of my work is done?&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Apr 2011 16:04:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Multiple-Calendarss/m-p/196711#M56658</guid>
      <dc:creator />
      <dc:date>2011-04-04T16:04:39Z</dc:date>
    </item>
    <item>
      <title>Set Analysis and Multiple Calendarss</title>
      <link>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Multiple-Calendarss/m-p/196712#M56659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;the InWeekToDate function has a 4th parameter - WeekStart - which may serve your need. (i've never used it, but by looking at the Help I think this is what you need...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you.&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2011 11:29:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Set-Analysis-and-Multiple-Calendarss/m-p/196712#M56659</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2011-04-05T11:29:27Z</dc:date>
    </item>
  </channel>
</rss>

