<?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: Custom calendar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139707#M751577</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need some more information I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Is the calendar actually user defined (as in, they input their own week start and week end values), or does it always follow the logic of your example here? (The logic I see is every week 1 starts on the first day of the month, every other week starts on saturday, and every last week of the month ends on the last day of the month, every other week ends on friday)&lt;/P&gt;&lt;P&gt;- If it is user defined, is the user allowed to reload?&lt;/P&gt;&lt;P&gt;- Does every month start back at week 1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2018 07:41:39 GMT</pubDate>
    <dc:creator>jensmunnichs</dc:creator>
    <dc:date>2018-10-26T07:41:39Z</dc:date>
    <item>
      <title>Custom calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139705#M751575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;I have sales on daily basis for a complete year. &lt;/P&gt;&lt;P&gt;I Want to show the weekly sales. But User will define his own canlendar i.e., week start and weekend. &lt;/P&gt;&lt;P&gt;this calendar will not be constant that can change on monthly basis. &lt;/P&gt;&lt;P&gt;EX: user calendar &lt;/P&gt;&lt;P&gt;october:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;week no&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;week start&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;week end&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Week 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/10/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5/10/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Week 2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6/10/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;12/10/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;Week 3&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;13/10/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;19/10/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Week 4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;20/10/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;26/10/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Week 5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;27/10/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;31/10/2018&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;‌&lt;/P&gt;&lt;P&gt;november:&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid rgb(0, 0, 0); width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;week no&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;week start&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;week end&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Week 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1/11/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2/11/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Week 2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3/11/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;9/11/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Week 3&lt;/TD&gt;&lt;TD&gt;10/11/2018&lt;/TD&gt;&lt;TD&gt;16/11/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Week 4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;17/11/2018&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;23/11/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Week 5&lt;/TD&gt;&lt;TD&gt;24/11/2018&lt;/TD&gt;&lt;TD&gt;30/11/2018&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139705#M751575</guid>
      <dc:creator>viveksingh</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Custom calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139706#M751576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/171708"&gt;stalwar1&lt;/A&gt;‌, &lt;A href="https://community.qlik.com/qlik-users/96544"&gt;gwassenaar&lt;/A&gt;‌ can you help me on this please..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 07:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139706#M751576</guid>
      <dc:creator>viveksingh</dc:creator>
      <dc:date>2018-10-26T07:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Custom calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139707#M751577</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Need some more information I think.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Is the calendar actually user defined (as in, they input their own week start and week end values), or does it always follow the logic of your example here? (The logic I see is every week 1 starts on the first day of the month, every other week starts on saturday, and every last week of the month ends on the last day of the month, every other week ends on friday)&lt;/P&gt;&lt;P&gt;- If it is user defined, is the user allowed to reload?&lt;/P&gt;&lt;P&gt;- Does every month start back at week 1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 07:41:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139707#M751577</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-10-26T07:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139708#M751578</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;‌yes, it is user defined one. In one month They take month start as 1st day of month. But there may be change like in another month, the week start will be 2nd date or any another of the month&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes, every month starts with week 1. But in a week there may be 1day or 5days or 7 Days...&lt;/P&gt;&lt;P&gt;one more point is, week numbers also may change. In this month we have 4 weeks. But in another month we may have 7 weeks. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;user will define them in a excel, will be reloaded on monthly basis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 08:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139708#M751578</guid>
      <dc:creator>viveksingh</dc:creator>
      <dc:date>2018-10-26T08:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Custom calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139709#M751579</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Aha, in that case this might be a lot simpler than I initially thought. Have a look at the load prefix 'IntervalMatch':&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/IntervalMatch.htm" title="https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/IntervalMatch.htm"&gt;https://help.qlik.com/en-US/qlikview/November2017/Subsystems/Client/Content/Scripting/ScriptPrefixes/IntervalMatch.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically, you want to load in your data (Date, Sales, etc.) and the excel file with fields (week start, week end, week no). Then use IntervalMatch(Date) just like they did in the example on that page, and then, if done correctly, every record should have an extra field 'Week No' with Week 1, week 2, etc. which you can then use in your tables/charts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Every time the excel sheet gets updated and the app is reloaded, the week no's will change accordingly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 08:26:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139709#M751579</guid>
      <dc:creator>jensmunnichs</dc:creator>
      <dc:date>2018-10-26T08:26:03Z</dc:date>
    </item>
    <item>
      <title>Re: Custom calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139710#M751580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the question? Am i missed anything above message?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 09:18:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Custom-calendar/m-p/139710#M751580</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2018-10-26T09:18:19Z</dc:date>
    </item>
  </channel>
</rss>

