<?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: True False statement business hours vs outside business hours incl. national holidays in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1440480#M26946</link>
    <description>&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;So how would complete DAX statement look like. Incorporating the earlier statement with the last part?&lt;/P&gt;&lt;P&gt;Thx D&lt;/P&gt;</description>
    <pubDate>Sun, 18 Oct 2020 19:15:25 GMT</pubDate>
    <dc:creator>Dave1972</dc:creator>
    <dc:date>2020-10-18T19:15:25Z</dc:date>
    <item>
      <title>True False statement business hours vs outside business hours incl. national holidays</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1437815#M26880</link>
      <description>&lt;DIV class="NoteView lia-note-view-display lia-note-source-outbox lia-note-read lia-read lia-component-notes-widget-note-view lia-component-note"&gt;&lt;DIV class="lia-quilt lia-quilt-private-notes-item lia-quilt-layout-single-row-full"&gt;&lt;DIV class="lia-quilt-row lia-quilt-row-main"&gt;&lt;DIV class="lia-quilt-column lia-quilt-column-24 lia-quilt-column-single lia-quilt-column-main-content"&gt;&lt;DIV class="lia-quilt-column-alley lia-quilt-column-alley-single"&gt;&lt;DIV class="lia-note-content"&gt;&lt;DIV class="lia-note-body lia-component-body"&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have a question about a creation of a True-False statement if a call is coming in during business hours or if it is outside business hours.&amp;nbsp;During business hours is Monday to Friday between 8 AM and 5PM. Saterday + Sundays and national holidays are outside buisness hours.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did manage to calculate the more simple true-false statement on just Business Days:&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;BusinessDAYS = IF('# Calendar'[WeekdagNr]&amp;lt;6, TRUE())...that works correctly, h&lt;/SPAN&gt;&lt;SPAN&gt;owever if I want to add as 2nd step the working hours element I get error message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I then 3rd step I also need to include the national holidays as outside business days ...&lt;/P&gt;&lt;P&gt;The value that determined if a national holiday are in table 'Nat Holidays NL' where field "Officiele vrije dag" should have value "Yes".&amp;nbsp;The date and time of the connection are in another table called 'pbiTotalen'[Date]&amp;nbsp; and&amp;nbsp;'pbiTotalen'[Time]&lt;/P&gt;&lt;P&gt;Appreciate if you can guide me me how to resolve...&amp;nbsp;Thx for helping...D&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-note-actions clearfix"&gt;&lt;SPAN class="lia-button-wrapper lia-button-wrapper-secondary lia-component-notes-action-delete-single"&gt;&lt;A href="https://community.powerbi.com/t5/notes/v1_1/privatenotespage.deletenote:delete_note/note-id/37023/note-source/outbox?t:ac=tab/outbox/notes-view-mode/single/note-id/37023&amp;amp;t:cp=notes/contributions/actions" target="_blank" rel="nofollow noopener"&gt;Delete&lt;/A&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-menu-bar lia-menu-bar-bottom bottom-block lia-component-menubar-pager-bottom"&gt;&lt;DIV class="lia-decoration-border-menu-bar"&gt;&lt;DIV class="lia-decoration-border-menu-bar-top"&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="lia-decoration-border-menu-bar-content"&gt;&lt;DIV&gt;&lt;DIV class="lia-menu-bar-buttons"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="lia-paging-full-wrapper"&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 16 Oct 2020 07:43:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1437815#M26880</guid>
      <dc:creator>Dave1972</dc:creator>
      <dc:date>2020-10-16T07:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: True False statement business hours vs outside business hours incl. national holidays</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1438475#M26892</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Some problem in the bracketing there.&amp;nbsp; Before the &amp;lt;TIME, there should be &lt;STRONG&gt;,1)&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 12:00:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1438475#M26892</guid>
      <dc:creator>Ashish_Mathur</dc:creator>
      <dc:date>2020-10-16T12:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: True False statement business hours vs outside business hours incl. national holidays</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1438492#M26894</link>
      <description>If you have a formula that is incorrect syntactically, please use &lt;A href="http://www.daxformatter.com" target="_blank"&gt;www.daxformatter.com&lt;/A&gt;. It'll show you where the problem is.</description>
      <pubDate>Fri, 16 Oct 2020 12:07:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1438492#M26894</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-10-16T12:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: True False statement business hours vs outside business hours incl. national holidays</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1438973#M26904</link>
      <description>&lt;P&gt;Thanks Ashish. That part is solved, but still interested to understand how to integrate the 3rd piece ...including also the fact that in case national holiday that is dureing weekdays this is regarded also as non working hours, so would like to see complete DAX function.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 15:43:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1438973#M26904</guid>
      <dc:creator>Dave1972</dc:creator>
      <dc:date>2020-10-16T15:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: True False statement business hours vs outside business hours incl. national holidays</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1439507#M26919</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Using the RELATED() or LOOKUPValUE() function, bring over to your Calendar table, the date of the public holiday from the Public Holiday table.&amp;nbsp; Then modify your IF() formula to check if the Holiday column cell is blank or not.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Sat, 17 Oct 2020 01:21:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1439507#M26919</guid>
      <dc:creator>Ashish_Mathur</dc:creator>
      <dc:date>2020-10-17T01:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: True False statement business hours vs outside business hours incl. national holidays</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1440480#M26946</link>
      <description>&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;So how would complete DAX statement look like. Incorporating the earlier statement with the last part?&lt;/P&gt;&lt;P&gt;Thx D&lt;/P&gt;</description>
      <pubDate>Sun, 18 Oct 2020 19:15:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1440480#M26946</guid>
      <dc:creator>Dave1972</dc:creator>
      <dc:date>2020-10-18T19:15:25Z</dc:date>
    </item>
    <item>
      <title>Re: True False statement business hours vs outside business hours incl. national holidays</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1447004#M27132</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Share the link from where i can download your PBI file.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Oct 2020 11:47:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1447004#M27132</guid>
      <dc:creator>Ashish_Mathur</dc:creator>
      <dc:date>2020-10-21T11:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: True False statement business hours vs outside business hours incl. national holidays</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1449471#M27205</link>
      <description>&lt;P&gt;Hi Ashish,&lt;/P&gt;&lt;P&gt;Send you personally a link to location for downloading PBI file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for assistence.&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Oct 2020 12:04:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/True-False-statement-business-hours-vs-outside-business-hours/m-p/1449471#M27205</guid>
      <dc:creator>Dave1972</dc:creator>
      <dc:date>2020-10-22T12:04:21Z</dc:date>
    </item>
  </channel>
</rss>

