<?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: calculate a delay between to date without the weekend in SAS Visual Analytics</title>
    <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/923616#M17951</link>
    <description>&lt;P&gt;thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It's a french word. It's a a day where our company don't work like esater or christmas. I already use intck in sas studio but i want tu find a solution on visual analytics with the existing formula&lt;/P&gt;</description>
    <pubDate>Tue, 09 Apr 2024 13:46:21 GMT</pubDate>
    <dc:creator>YannRC</dc:creator>
    <dc:date>2024-04-09T13:46:21Z</dc:date>
    <item>
      <title>calculate a delay between to date without the weekend</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/923542#M17949</link>
      <description>&lt;P&gt;Hello, I know that i can use INTCK on studio but i want to know if i can find a formula in visual Analytics to measure the delay between 2 dates and exclude the week end or blank days.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 07:28:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/923542#M17949</guid>
      <dc:creator>YannRC</dc:creator>
      <dc:date>2024-04-09T07:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: calculate a delay between to date without the weekend</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/923612#M17950</link>
      <description>&lt;P&gt;What would a "blank day" be? Never heard that term before.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The INTCK and INTNX functions will use the WEEKDAY as an interval.&lt;/P&gt;
&lt;P&gt;Example:&lt;/P&gt;
&lt;PRE&gt;data example;
   day1='05APR2024'd;
   day2='09APR2024'd;
   weekdaysbetween = intck('weekday',day1,day2);
run;&lt;/PRE&gt;
&lt;P&gt;Day1 is a Friday, Day2 is Tuesday. Weekdaysbetween is 2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 13:41:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/923612#M17950</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2024-04-09T13:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: calculate a delay between to date without the weekend</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/923616#M17951</link>
      <description>&lt;P&gt;thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It's a french word. It's a a day where our company don't work like esater or christmas. I already use intck in sas studio but i want tu find a solution on visual analytics with the existing formula&lt;/P&gt;</description>
      <pubDate>Tue, 09 Apr 2024 13:46:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/923616#M17951</guid>
      <dc:creator>YannRC</dc:creator>
      <dc:date>2024-04-09T13:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: calculate a delay between to date without the weekend</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/928533#M18015</link>
      <description>&lt;P&gt;Excuse me for the delay and thank you for your answer.&lt;/P&gt;&lt;P&gt;I know that a can use INTCK on a program or on a flow. But my data table is already here. I want to calculate a delay in days between two date without the saturday ou sunday for example. Only working days.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But i need or want to know if we can do it by using only Calculated items (and formula) in visual analytics.&lt;/P&gt;</description>
      <pubDate>Wed, 15 May 2024 18:37:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/928533#M18015</guid>
      <dc:creator>YannRC</dc:creator>
      <dc:date>2024-05-15T18:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: calculate a delay between to date without the weekend</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/928584#M18016</link>
      <description>&lt;P&gt;Does the solution in from discussion &lt;A href="https://communities.sas.com/t5/SAS-Visual-Analytics/SAS-Visual-Analytics-Edit-Calculated-Data-with-Condition/td-p/765006" target="_self"&gt;SAS-Visual-Analytics-Edit-Calculated-Data-with-Condition&lt;/A&gt; answer your question?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Using intck() for an interval Monday-Friday won't be hard but if you also want to exclude holidays then you need a&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lefunctionsref/p0syn64amroombn14vrdzksh459w.htm#n1n5ezpid8tfkhn1nzmb3foy5opw" target="_self"&gt;Custom Time Interval&lt;/A&gt;. Not sure if and how this works with in-memory tables and VA.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 01:57:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/928584#M18016</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2024-05-16T01:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: calculate a delay between to date without the weekend</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/928642#M18017</link>
      <description>&lt;P&gt;Not Clearly. My target is to do the same thing as INTCK but by using Existing formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2024 11:47:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/928642#M18017</guid>
      <dc:creator>YannRC</dc:creator>
      <dc:date>2024-05-16T11:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: calculate a delay between to date without the weekend</title>
      <link>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/928808#M18018</link>
      <description>&lt;P&gt;A parralel Question. INTCK is perfect with weekday but it take the saturday and sunday.&lt;/P&gt;
&lt;P&gt;When i put the table on WORK, I can use&amp;nbsp;INTCK("WEEKDAY1W",(DATEPART(Date1)),(DATEPART(date2))) and it works and it only remove the sunday. But when i change and i work on CAS. It's KO.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it normal?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 10:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Visual-Analytics/calculate-a-delay-between-to-date-without-the-weekend/m-p/928808#M18018</guid>
      <dc:creator>YannRC</dc:creator>
      <dc:date>2024-05-17T10:30:26Z</dc:date>
    </item>
  </channel>
</rss>

