<?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: count number of active sales people pr day based on start and dismissal day of employee ex. weekend in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-number-of-active-sales-people-pr-day-based-on-start-and/m-p/2512698#M69739</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;Could you provide&lt;/P&gt;
&lt;P&gt;(1) a sample file, you can replace raw data with bogus data to protect your privacy,&lt;/P&gt;
&lt;P&gt;(2) &lt;STRONG&gt;or&lt;/STRONG&gt; provide some sample data that fully covers your issue/question&lt;/P&gt;
&lt;P&gt;(3) give your expected result based on the sample you provide&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Tang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2022 08:14:39 GMT</pubDate>
    <dc:creator>v-xiaotang</dc:creator>
    <dc:date>2022-05-13T08:14:39Z</dc:date>
    <item>
      <title>count number of active sales people pr day based on start and dismissal day of employee ex. weekend</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-number-of-active-sales-people-pr-day-based-on-start-and/m-p/2505752#M69388</link>
      <description>&lt;P&gt;Hi all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to calculate the number of active sales people pr day between two dates (which can be sumed in the total - for budget calculation) however, I want to exclude weekends and public holidays. I have a table of all over agent which has a column with different start dates and a second column with dates of dismissal (for active employee the value is TODAY()).&amp;nbsp; I have all our public holidays listed in a table with dates.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me&amp;nbsp;calculate the number of active sales people pr day between two dates excluding weekends and holidays?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NicoM96&lt;/P&gt;</description>
      <pubDate>Tue, 10 May 2022 19:48:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-number-of-active-sales-people-pr-day-based-on-start-and/m-p/2505752#M69388</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-10T19:48:32Z</dc:date>
    </item>
    <item>
      <title>Re: count number of active sales people pr day based on start and dismissal day of employee ex. weekend</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-number-of-active-sales-people-pr-day-based-on-start-and/m-p/2506136#M69405</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt; , if you want to know active , does week end matter ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;countx(filter(Table, Table[Start]&amp;lt;= today() &amp;amp;&amp;amp;(isblank( Table[Dismissal Date]) ||&amp;nbsp;Table[Dismissal Date] &amp;gt;= Today()) , Table[Employee])&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970" target="_blank"&gt;https://community.powerbi.com/t5/Community-Blog/HR-Analytics-Active-Employee-Hire-and-Termination-trend/ba-p/882970&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 02:01:27 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-number-of-active-sales-people-pr-day-based-on-start-and/m-p/2506136#M69405</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-05-11T02:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: count number of active sales people pr day based on start and dismissal day of employee ex. weekend</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-number-of-active-sales-people-pr-day-based-on-start-and/m-p/2508378#M69529</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate our sales budget for each day which is a determined from the number of active sales people. I want to create a table that shows the number of active people by date and all weekends should show a value of 0. The measure should be sumed in order to calculate the YTD budget&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 May 2022 16:41:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-number-of-active-sales-people-pr-day-based-on-start-and/m-p/2508378#M69529</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-05-11T16:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: count number of active sales people pr day based on start and dismissal day of employee ex. weekend</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-number-of-active-sales-people-pr-day-based-on-start-and/m-p/2512698#M69739</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to us.&lt;/P&gt;
&lt;P&gt;Could you provide&lt;/P&gt;
&lt;P&gt;(1) a sample file, you can replace raw data with bogus data to protect your privacy,&lt;/P&gt;
&lt;P&gt;(2) &lt;STRONG&gt;or&lt;/STRONG&gt; provide some sample data that fully covers your issue/question&lt;/P&gt;
&lt;P&gt;(3) give your expected result based on the sample you provide&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Community Support Team _Tang&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;&lt;STRONG&gt;helps&lt;/STRONG&gt;, please consider&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;Accept it as the solution&lt;/STRONG&gt;&lt;/EM&gt;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 08:14:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/count-number-of-active-sales-people-pr-day-based-on-start-and/m-p/2512698#M69739</guid>
      <dc:creator>v-xiaotang</dc:creator>
      <dc:date>2022-05-13T08:14:39Z</dc:date>
    </item>
  </channel>
</rss>

