<?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: Extreme date manipulations in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Extreme-date-manipulations/m-p/1061459#M464903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chiwa1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I understood your post correctly, what you are asking for should be quite usual and straight forward in QlikView / QS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how much experience you have with Qlik data models and how Qlik's associative data model works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest that you create a master calendar with all dates needed just as you described above. This calendar should link to the sales fact table by Date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then all you need to do is: make selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Create a list box for Calendar Type and select a value, then open properties and enable 'always one selected value', to make sure that only one calendar is used at any time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) If you want, create more list boxes for Date, Month, Year,, etc.&lt;/P&gt;&lt;P&gt;You can select ranges e.g. by using searches:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4096"&gt;The Search String&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or by using calendar objects or variables and maybe using triggers to use the variables for date range selections.&lt;/P&gt;&lt;P&gt;There are lot of examples here in the forum on how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the list box for Workday, either select 1, or clear the selection to have both values active in the record set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create charts with calendar fields as dimension and expressions to aggregate your sales facts as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should already be set up to do all analysis you required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can automate some reports by using set analysis, i.e. defining 'static' filters in your charts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have not started with QlikView or QlikSense, I would suggest that you go though some basic tutorial (available for free on the Qlik site), You should be ready to go within some hours / few days.&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>Tue, 05 Apr 2016 21:55:43 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2016-04-05T21:55:43Z</dc:date>
    <item>
      <title>Extreme date manipulations</title>
      <link>https://community.qlik.com/t5/QlikView/Extreme-date-manipulations/m-p/1061458#M464902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very to new to Qlikview, coming from legacy IT and BI systems. &lt;/P&gt;&lt;P&gt;looking forward to see the community in action.&lt;/P&gt;&lt;P&gt;I spent sometime researching the forum and the web but couldn't the info I was looking for.&lt;/P&gt;&lt;P&gt;a robust, agile and reusable solution to manipulate sales data by two calendars, date ranges and actual work day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is going to be rather long, bear with me if you can.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The main table:&lt;/P&gt;&lt;P&gt;1. Sales data - basically -&amp;gt; SalesDate | SalesPrice | ProductCode&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Here is the situation, I would like to have an extremely flexible and easy way to filter sales data as follows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;I want to be able to change instantly between two calendars (Regular and Company), and to combine traditional periods such as quarter and months with date ranges.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;For each date I store in a master calendar table two rows, to list if it's a working day (value between 0 and 1) and to which periods it belongs, here's an example.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;note that a date can have a completely different periods in the company calendar.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 416px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD class="xl63" height="20" width="96"&gt;Calendar Type&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Date&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Year&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Quarter&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Month&lt;/TD&gt;&lt;TD class="xl63" width="64"&gt;Workday&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;Regular&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;30-12-15&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;2015&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;12&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;Company&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;30-12-15&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;2015&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;12&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;Regular&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;31-12-15&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;2015&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;4&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;12&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD class="xl63" height="20"&gt;Company&lt;/TD&gt;&lt;TD align="right" class="xl64"&gt;31-12-15&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;2016&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1&lt;/TD&gt;&lt;TD align="right" class="xl63"&gt;1&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;The ideal user experience as I see it:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;At the top of the sheet the user will select&lt;/P&gt;&lt;P&gt;1. Select calendar: Company/Regular&lt;/P&gt;&lt;P&gt;2. Start Date:(DD-MM): 01-01&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3. End-Date:(DD-MM): 31-12&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;4. Select comparison: dates/workday&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;After selections are made and every time they change the Sales data field will filter accordingly: (leaving only relevant rows from sales data)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;My thinking for solution is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1. Write a function/formula like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;IsInRange(SalesDate,CalendarType,StartDate,EndDate,Workday (Y/N) )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;so four kind of checks are required:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1. if it's a regular calendar and not by workdays. just check if date is between the range for that year&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2. if it's a regular calendar and by workdays. check the sum of total work days in year from year start until StartDate and up until EndDate, and check if the total of working days from year start to SalesDate is in between.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3.The same as 1 but with Company calendar&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;4. the same as 2 but with company calendar&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2. sum the sales in all charts with the formula SUM(IsINRange(SalesDate)= True, SalesPrice)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3. create trigger for all the var listed above for data refresh&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG style="text-decoration: underline;"&gt;My questions:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;1. is that a good solution in your opinion, would you do it differently ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;2. should I worry about performance and consider losing flexibility by calculating YTD flags in load instead?, sales data contains 1 Million rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;3. How do I write a formula like this, can you please refer me in the right direction?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;4. How do I force a re-calculation for every change&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks for reading, I would love to hear your comments.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 19:43:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extreme-date-manipulations/m-p/1061458#M464902</guid>
      <dc:creator />
      <dc:date>2016-04-05T19:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: Extreme date manipulations</title>
      <link>https://community.qlik.com/t5/QlikView/Extreme-date-manipulations/m-p/1061459#M464903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Chiwa1,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if I understood your post correctly, what you are asking for should be quite usual and straight forward in QlikView / QS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure how much experience you have with Qlik data models and how Qlik's associative data model works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest that you create a master calendar with all dates needed just as you described above. This calendar should link to the sales fact table by Date field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then all you need to do is: make selections&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a) Create a list box for Calendar Type and select a value, then open properties and enable 'always one selected value', to make sure that only one calendar is used at any time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b) If you want, create more list boxes for Date, Month, Year,, etc.&lt;/P&gt;&lt;P&gt;You can select ranges e.g. by using searches:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-blogpost/4096"&gt;The Search String&lt;/A&gt;‌&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or by using calendar objects or variables and maybe using triggers to use the variables for date range selections.&lt;/P&gt;&lt;P&gt;There are lot of examples here in the forum on how to do that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the list box for Workday, either select 1, or clear the selection to have both values active in the record set.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create charts with calendar fields as dimension and expressions to aggregate your sales facts as needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should already be set up to do all analysis you required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can automate some reports by using set analysis, i.e. defining 'static' filters in your charts. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have not started with QlikView or QlikSense, I would suggest that you go though some basic tutorial (available for free on the Qlik site), You should be ready to go within some hours / few days.&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>Tue, 05 Apr 2016 21:55:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extreme-date-manipulations/m-p/1061459#M464903</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-04-05T21:55:43Z</dc:date>
    </item>
    <item>
      <title>Re: Extreme date manipulations</title>
      <link>https://community.qlik.com/t5/QlikView/Extreme-date-manipulations/m-p/1061460#M464904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the tips!&lt;/P&gt;&lt;P&gt;I managed to do some of the stuff I wrote, by creating a YTD flag in the load script.&lt;/P&gt;&lt;P&gt;The only thing I want to achieve but still haven't figured out how is to create a Year to date total work days for each date in the calendar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm loading all the columns and want to calculate the&lt;EM&gt;&lt;STRONG&gt; Year to Date - SUm Work Days&lt;/STRONG&gt;&lt;/EM&gt; &lt;SPAN style="font-size: 13.3333px;"&gt;column &lt;/SPAN&gt;during the load script.&lt;/P&gt;&lt;P&gt;Please note the Year, Month and Day are loaded for each row and varies depending on the calendar.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Totally lost in achieving this,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;T&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;hanks &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" jive-data-cell="{&amp;quot;color&amp;quot;:&amp;quot;#3D3D3D&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;left&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;NaN&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;transparent&amp;quot;,&amp;quot;fontFamily&amp;quot;:&amp;quot;Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif&amp;quot;,&amp;quot;verticalAlign&amp;quot;:&amp;quot;baseline&amp;quot;}" jive-data-header="{&amp;quot;color&amp;quot;:&amp;quot;#FFFFFF&amp;quot;,&amp;quot;backgroundColor&amp;quot;:&amp;quot;#6690BC&amp;quot;,&amp;quot;textAlign&amp;quot;:&amp;quot;center&amp;quot;,&amp;quot;padding&amp;quot;:&amp;quot;2&amp;quot;}" style="border: 0px; font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: rgb(61, 61, 61); width: 552px;"&gt;&lt;TBODY&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="left" class="xl63" height="85" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;Calendar Type&lt;/TD&gt;&lt;TD align="left" class="xl63" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;Date&lt;/TD&gt;&lt;TD align="left" class="xl63" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;Year&lt;/TD&gt;&lt;TD align="left" class="xl63" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;Quarter&lt;/TD&gt;&lt;TD align="left" class="xl63" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;Month&lt;/TD&gt;&lt;TD align="left" class="xl63" width="64"&gt;Day&lt;/TD&gt;&lt;TD align="left" class="xl63" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;Workday&lt;/TD&gt;&lt;TD align="left" class="xl63" width="64"&gt;Year to Date - SUM -Work Days&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="left" class="xl63" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;Regular&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;30/12/2015&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;2015&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;4&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;12&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;30&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;0&lt;/TD&gt;&lt;TD align="left"&gt;NA&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="left" class="xl63" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;Company&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;30/12/2015&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;2015&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;4&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;12&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;32&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;0&lt;/TD&gt;&lt;TD align="left"&gt;NA&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="left" class="xl63" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;Regular&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;31/12/2015&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;2015&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;4&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;12&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;31&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;1&lt;/TD&gt;&lt;TD align="left"&gt;NA&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="border: 0px; font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;TD align="left" class="xl63" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;Company&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;31/12/2015&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;2016&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;Regular&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;01/01/2016&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;2015&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD align="left" class="xl63" height="20" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;Company&lt;/TD&gt;&lt;TD class="xl64" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="84"&gt;01/01/2016&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;2016&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl65" width="64"&gt;2&lt;/TD&gt;&lt;TD class="xl65" style="padding-right: 4px; padding-left: 4px; border: 0px solid black; font-style: inherit; font-family: inherit;" width="64"&gt;1&lt;/TD&gt;&lt;TD class="xl66" width="64"&gt;&lt;STRONG&gt;2&lt;/STRONG&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2016 13:28:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extreme-date-manipulations/m-p/1061460#M464904</guid>
      <dc:creator />
      <dc:date>2016-04-29T13:28:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extreme date manipulations</title>
      <link>https://community.qlik.com/t5/QlikView/Extreme-date-manipulations/m-p/1061461#M464905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe something like (assuming the calendar is sorted by Date asc.):&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;&amp;nbsp; If(Year = Year(Today(1)) AND Workday = 1, Autonumber(Date, [Calendar Type]),'NA') as [YTD Workdays],&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;RESIDENT YourCalendar;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 01 May 2016 21:18:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Extreme-date-manipulations/m-p/1061461#M464905</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-05-01T21:18:08Z</dc:date>
    </item>
  </channel>
</rss>

