<?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: script for work days without year in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622324#M684479</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about leap years?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't care, you can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=makedate(2014, MONTH, DAY) - makedate(2014) +1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the date number,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or a little shorter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;DayNumberOfYear(makedate(2014, MONTH, DAY) )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Feb 2014 16:42:24 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2014-02-07T16:42:24Z</dc:date>
    <item>
      <title>script for work days without year</title>
      <link>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622320#M684475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 2 fields : DAY MONTH&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i need to calculate working days without YEAR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i.e. 09/02 i need to know number of working days from 01/01&lt;/P&gt;&lt;P&gt;I tried to use function nextworkingdays() but it doesn't work without a complete date filed(mm/dd/yyyy)&lt;/P&gt;&lt;P&gt;Can u help me pls?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:29:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622320#M684475</guid>
      <dc:creator />
      <dc:date>2014-02-07T16:29:35Z</dc:date>
    </item>
    <item>
      <title>Re: script for work days without year</title>
      <link>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622321#M684476</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, the function working day needs the year because he works with this parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it calculated the laboral day from each month depends of the year.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you dont put the year, the function doesnt know what have to calculated, and the result will be incorrect&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:34:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622321#M684476</guid>
      <dc:creator>fkeuroglian</dc:creator>
      <dc:date>2014-02-07T16:34:41Z</dc:date>
    </item>
    <item>
      <title>Re: script for work days without year</title>
      <link>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622322#M684477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You don't know the year for your DAY MONTH values? Then I think you can't calculate the working days between two DAY MONTH combinations.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you know the year, but it's just not available in your source data, you can create complete dates in networkdays() function, like&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=networkdays(makedate(2014), makedate(2014,MONTH,DAY) )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:37:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622322#M684477</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-02-07T16:37:02Z</dc:date>
    </item>
    <item>
      <title>Re: script for work days without year</title>
      <link>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622323#M684478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ty for answer&lt;/P&gt;&lt;P&gt;is it possibile know the number of day in a year without the year information?&lt;/P&gt;&lt;P&gt;i.e. 01/02 is day number 2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tyvm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:37:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622323#M684478</guid>
      <dc:creator />
      <dc:date>2014-02-07T16:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: script for work days without year</title>
      <link>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622324#M684479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about leap years?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't care, you can try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=makedate(2014, MONTH, DAY) - makedate(2014) +1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to get the date number,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or a little shorter:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="Bold"&gt;DayNumberOfYear(makedate(2014, MONTH, DAY) )&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:42:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622324#M684479</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-02-07T16:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: script for work days without year</title>
      <link>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622325#M684480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's not a problem, cause i need jurst a average value of woking days&lt;/P&gt;&lt;P&gt;So if i can calculate the day number of year without year i can&amp;nbsp; resolve my problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tyvm&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 16:46:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622325#M684480</guid>
      <dc:creator />
      <dc:date>2014-02-07T16:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: script for work days without year</title>
      <link>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622326#M684481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want an approximate number, you can use an assumption that five of each seven days are working days.&amp;nbsp; In this case, using Stefan's expression:&lt;/P&gt;&lt;P&gt;=DayNumberOfYear(makedate(2014, MONTH, DAY) ) &lt;STRONG&gt;*5/7&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Feb 2014 17:19:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/script-for-work-days-without-year/m-p/622326#M684481</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-02-07T17:19:38Z</dc:date>
    </item>
  </channel>
</rss>

