<?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: Add working days to a date in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2511676#M105099</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/194545"&gt;@Loki13&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I would try achieving this through the backend.&lt;/P&gt;&lt;P&gt;The best idea that I've got right now would be to create a table containing all working days and then use FieldIndex() and FieldValue().&lt;/P&gt;&lt;P&gt;If you created a table called 'WorkingDays' with a field called 'Work_Date' the calculation might look something like so:&lt;/P&gt;&lt;P&gt;FieldValue('Work_Date', FieldIndex('Work_Date', ShipmentDate) + Delay) as ReceiptDate&lt;/P&gt;&lt;P&gt;It would only work if all the shipping dates are working days as well.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Wed, 26 Mar 2025 12:58:06 GMT</pubDate>
    <dc:creator>lennart_mo</dc:creator>
    <dc:date>2025-03-26T12:58:06Z</dc:date>
    <item>
      <title>Add working days to a date</title>
      <link>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2506338#M104167</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have table where I have two columns. One column with the shipment date and the other with transport delays (in days) I would like to create a column where I will calculate the receipt time but only by adding working days since there's no transport during non working days.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 09:17:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2506338#M104167</guid>
      <dc:creator>Loki13</dc:creator>
      <dc:date>2025-02-18T09:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Add working days to a date</title>
      <link>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2506354#M104172</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;you can use a formula like this:&lt;BR /&gt;networkdays(Order_Date,Delivery_Date)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/May2024/Subsystems/Client/Content/QV_QlikView/Scripting/DateAndTimeFunctions/networkdays.htm?key=5767e68ebe834658a578bd6afc159cb2" target="_blank"&gt;networkdays - script and chart function | QlikView Help&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Feb 2025 10:58:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2506354#M104172</guid>
      <dc:creator>Clement15</dc:creator>
      <dc:date>2025-02-18T10:58:53Z</dc:date>
    </item>
    <item>
      <title>Re: Add working days to a date</title>
      <link>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2510693#M104934</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I would like to add working days to the date not count the number of working days between two dates.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 14:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2510693#M104934</guid>
      <dc:creator>Loki13</dc:creator>
      <dc:date>2025-03-19T14:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Add working days to a date</title>
      <link>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2510722#M104938</link>
      <description>&lt;P&gt;Try this&amp;nbsp;&lt;/P&gt;&lt;P&gt;ReceiptDate = WorkDate([Shipment Date], [Transport Delays])&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Mar 2025 19:41:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2510722#M104938</guid>
      <dc:creator>Chanty4u</dc:creator>
      <dc:date>2025-03-19T19:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: Add working days to a date</title>
      <link>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2511647#M105093</link>
      <description>&lt;P&gt;It didn't work. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 10:23:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2511647#M105093</guid>
      <dc:creator>Loki13</dc:creator>
      <dc:date>2025-03-26T10:23:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add working days to a date</title>
      <link>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2511668#M105098</link>
      <description>&lt;P&gt;Take a look here:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Scripting/DateAndTimeFunctions/firstworkdate.htm" target="_blank"&gt;firstworkdate - script and chart function | Qlik Cloud Help&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 12:15:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2511668#M105098</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-03-26T12:15:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add working days to a date</title>
      <link>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2511676#M105099</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/194545"&gt;@Loki13&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I would try achieving this through the backend.&lt;/P&gt;&lt;P&gt;The best idea that I've got right now would be to create a table containing all working days and then use FieldIndex() and FieldValue().&lt;/P&gt;&lt;P&gt;If you created a table called 'WorkingDays' with a field called 'Work_Date' the calculation might look something like so:&lt;/P&gt;&lt;P&gt;FieldValue('Work_Date', FieldIndex('Work_Date', ShipmentDate) + Delay) as ReceiptDate&lt;/P&gt;&lt;P&gt;It would only work if all the shipping dates are working days as well.&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 12:58:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2511676#M105099</guid>
      <dc:creator>lennart_mo</dc:creator>
      <dc:date>2025-03-26T12:58:06Z</dc:date>
    </item>
    <item>
      <title>Re: Add working days to a date</title>
      <link>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2511686#M105101</link>
      <description>&lt;P&gt;There is already in nearly all scenarios such a table - the master calendar. Just adding there a 0/1 workingday-flag against querying weekends/holidays and then accumulating this value against the month/year/calendar-start/... and then using these information in n mappings, like:&lt;/P&gt;&lt;P&gt;m1: mapping load Date, RunningWorkingday from Calendar;&lt;/P&gt;&lt;P&gt;m2: mapping load RunningWorkingday,&amp;nbsp;Date from Calendar;&lt;/P&gt;&lt;P&gt;t: load *, applymap('m2', Delay + applymap('m1', Date, null()), 'myDefault') as ReceiptDate&lt;BR /&gt;from X;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Mar 2025 13:40:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Add-working-days-to-a-date/m-p/2511686#M105101</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2025-03-26T13:40:04Z</dc:date>
    </item>
  </channel>
</rss>

