<?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: Employee FTE count from partial days worked in month in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2204618#M51840</link>
    <description>&lt;P&gt;One small question, if I want to calculate the YTD value for both Total Days Worked and FTE measure, should I create an inactive relationship between Date Disconnected table and Employee table and then use USERELATIONSHIP function?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried creating the YTD measure without any relationship but it is not working.&lt;/P&gt;</description>
    <pubDate>Wed, 24 Nov 2021 00:11:20 GMT</pubDate>
    <dc:creator>RinksBI</dc:creator>
    <dc:date>2021-11-24T00:11:20Z</dc:date>
    <item>
      <title>Employee FTE count from partial days worked in month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2202120#M51709</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to calculate the employee count (FTE) based on the start(hire) date, end(terminate) date, and also considering the partial number of days worked in a month. I have put the information in a table to demonstrate that I am trying to achieve the numbers in the blue cells. I have an Employee table and a Date Table in my Power BI file where there is an active relationship between the Date Table-date and Employee table-start date and an inactive relationship between date Table-date and Employee table-end date.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will be grateful if someone can help me with creating the right measure for calculating the "Total days worked" in a Month for each employee and the "FTE per month"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&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;</description>
      <pubDate>Mon, 22 Nov 2021 18:34:28 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2202120#M51709</guid>
      <dc:creator>RinksBI</dc:creator>
      <dc:date>2021-11-22T18:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Employee FTE count from partial days worked in month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2202809#M51735</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please check the below picture and the attached pbix file.&lt;/P&gt;
&lt;P&gt;I suggest having a disconnected DATE Table like below.&lt;/P&gt;
&lt;P&gt;All measures are in the attached pbix file.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;STRONG&gt;&lt;EM&gt;Total Days Worked: = &lt;/EM&gt;&lt;/STRONG&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;CALCULATE (&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;COUNTROWS ( 'Dates disconnected' ),&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;FILTER (&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;'Dates disconnected',&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;'Dates disconnected'[Date] &amp;gt;= SELECTEDVALUE ( Employee[Start Date] )&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt; &amp;amp;&amp;amp; OR (&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;'Dates disconnected'[Date] &amp;lt;= SELECTEDVALUE ( Employee[End Date] ),&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;SELECTEDVALUE ( Employee[End Date] ) = BLANK ()&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt; )&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt; )&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;EM&gt;&lt;STRONG&gt;FTE measure: =&lt;/STRONG&gt; &lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;VAR totalcalendardayscount =&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;COUNTROWS ( 'Dates disconnected' )&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;VAR totalworkingdayscount =&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;SUMX ( Employee, [Total Days Worked:] )&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;RETURN&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;EM&gt;DIVIDE ( totalworkingdayscount, totalcalendardayscount )&lt;/EM&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 23 Nov 2021 04:43:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2202809#M51735</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-11-23T04:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: Employee FTE count from partial days worked in month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2204138#M51815</link>
      <description>&lt;P&gt;Thank you so so much for your generous help and for putting the effort into this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Nov 2021 17:30:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2204138#M51815</guid>
      <dc:creator>RinksBI</dc:creator>
      <dc:date>2021-11-23T17:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: Employee FTE count from partial days worked in month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2204618#M51840</link>
      <description>&lt;P&gt;One small question, if I want to calculate the YTD value for both Total Days Worked and FTE measure, should I create an inactive relationship between Date Disconnected table and Employee table and then use USERELATIONSHIP function?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried creating the YTD measure without any relationship but it is not working.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 00:11:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2204618#M51840</guid>
      <dc:creator>RinksBI</dc:creator>
      <dc:date>2021-11-24T00:11:20Z</dc:date>
    </item>
    <item>
      <title>Re: Employee FTE count from partial days worked in month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2204927#M51848</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Can you let me know the expected outcome?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Because I decided to use a disconnected date table, I think the measure has to be written differently than using the time intelligent function.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 04:03:46 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2204927#M51848</guid>
      <dc:creator>Jihwan_Kim</dc:creator>
      <dc:date>2021-11-24T04:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Employee FTE count from partial days worked in month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2206377#M51933</link>
      <description>&lt;P&gt;This is the YTD value I need to generate.&lt;/P&gt;&lt;P&gt;Thank you again for responding.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 18:10:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2206377#M51933</guid>
      <dc:creator>RinksBI</dc:creator>
      <dc:date>2021-11-24T18:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Employee FTE count from partial days worked in month</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2212518#M52248</link>
      <description>&lt;P&gt;Hi, sorry for bothering you again, do you think this can be done?&lt;/P&gt;&lt;P&gt;I attached a sample outcome in my last response.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 18:08:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Employee-FTE-count-from-partial-days-worked-in-month/m-p/2212518#M52248</guid>
      <dc:creator>RinksBI</dc:creator>
      <dc:date>2021-11-29T18:08:43Z</dc:date>
    </item>
  </channel>
</rss>

