<?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 Creating Bi Weekly in Master Calendar in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-Bi-Weekly-in-Master-Calendar/m-p/348779#M1176327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can derive your BiWeekly incremented field value from week, maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ceil(week(Date)/2) as BiWeek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for some years, you will have an inconsistent BiWeekly increment at year's end (years with week number 53).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;div(weekstart(Date),14) as BiWeek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to create a continuous Biweekly numbering across all years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Mar 2012 23:58:44 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2012-03-12T23:58:44Z</dc:date>
    <item>
      <title>Creating Bi Weekly in Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Bi-Weekly-in-Master-Calendar/m-p/348778#M1176326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Been trying to work this out, but I must be missing something. I'd like to add in bi-weekly increments (e.g. every two weeks instead of weekly). What's the best way of going about this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My master calendar looks like the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FactCalendar:&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp; TempDate AS CalendarDate,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Day(TempDate) AS CalendarDay,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Week(TempDate) AS CalendarWeek,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Weekday(TempDate) AS WeekDay,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month(TempDate) AS CalendarMonth,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year(TempDate) AS CalendarYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; 'Q' &amp;amp; Ceil(Month(TempDate)/3) AS CalendarQuarter,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Month(TempDate) &amp;amp; '-' &amp;amp; Year(TempDate) AS CalendarMonthAndYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Week (TempDate) &amp;amp; '-'&amp;amp; Year (TempDate) as CalendarWeekAndYear,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year2Date(TempDate, 0, 1, $(vToday))*-1 AS CurYTDFlag,&lt;/P&gt;&lt;P&gt;&amp;nbsp; Year2Date(TempDate,-1, 1, $(vToday))*-1 AS LastYTDFlag,&lt;/P&gt;&lt;P&gt;&amp;nbsp; WeekStart(TempDate, 0, -1) AS CalendarWeekStart,&lt;/P&gt;&lt;P&gt;&amp;nbsp; num(TempDate) AS DayNum&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 22:20:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Bi-Weekly-in-Master-Calendar/m-p/348778#M1176326</guid>
      <dc:creator />
      <dc:date>2012-03-12T22:20:39Z</dc:date>
    </item>
    <item>
      <title>Creating Bi Weekly in Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Bi-Weekly-in-Master-Calendar/m-p/348779#M1176327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can derive your BiWeekly incremented field value from week, maybe like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ceil(week(Date)/2) as BiWeek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but for some years, you will have an inconsistent BiWeekly increment at year's end (years with week number 53).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use something like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;div(weekstart(Date),14) as BiWeek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to create a continuous Biweekly numbering across all years.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps,&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Mar 2012 23:58:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Bi-Weekly-in-Master-Calendar/m-p/348779#M1176327</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-03-12T23:58:44Z</dc:date>
    </item>
    <item>
      <title>Creating Bi Weekly in Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Bi-Weekly-in-Master-Calendar/m-p/348780#M1176328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Stefan-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is really great.&amp;nbsp; I used the div(weekstart(Date),14) expression.&amp;nbsp; It's something that I can use in my setanalysis!&amp;nbsp; One follow-up is applying real date to these bi-weekly values?&amp;nbsp; I'd like for the user to be able to select biweekly dates from a list box.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:40:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Bi-Weekly-in-Master-Calendar/m-p/348780#M1176328</guid>
      <dc:creator />
      <dc:date>2012-03-13T14:40:13Z</dc:date>
    </item>
    <item>
      <title>Creating Bi Weekly in Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Bi-Weekly-in-Master-Calendar/m-p/348781#M1176329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;dual(text(weekstart(Date)),div(weekstart(Date),14)) as BiWeekDate,&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:48:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Bi-Weekly-in-Master-Calendar/m-p/348781#M1176329</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2012-03-13T14:48:15Z</dc:date>
    </item>
    <item>
      <title>Creating Bi Weekly in Master Calendar</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-Bi-Weekly-in-Master-Calendar/m-p/348782#M1176330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks man! That did it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 20:29:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-Bi-Weekly-in-Master-Calendar/m-p/348782#M1176330</guid>
      <dc:creator />
      <dc:date>2012-03-13T20:29:36Z</dc:date>
    </item>
  </channel>
</rss>

