<?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: How to calculate the through put time of a process for partial workdays only in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-through-put-time-of-a-process-for-partial/m-p/4405407#M174887</link>
    <description>&lt;P&gt;You could combine the approaches you have tried. First work out the total difference including non-working days, then count the number of working days, multiply that by 24 and take it off the total difference.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2025 15:18:52 GMT</pubDate>
    <dc:creator>johnt75</dc:creator>
    <dc:date>2025-02-11T15:18:52Z</dc:date>
    <item>
      <title>How to calculate the through put time of a process for partial workdays only</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-through-put-time-of-a-process-for-partial/m-p/4405376#M174882</link>
      <description>&lt;P class=""&gt;I am trying to create a through put time for a process.&amp;nbsp;&amp;nbsp; The output I am looking for is the hours in decimal format with one decimal place from the StartDate to FinishDate including partial days however excluding weekends.&amp;nbsp; I have gotten the report to output DateDiff in hours including partial days in correct format however it includes weekends, I have gotten NetworkDays to work in hours however it rounds up to the complete day.&amp;nbsp; I have gotten Datediff to list workdays only but not partial days in hours.&amp;nbsp; Is there a why to get the output in hours for partial workdays only?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Lead time DateDIFF &lt;/SPAN&gt;&lt;SPAN&gt;in&lt;/SPAN&gt;&lt;SPAN&gt; DAX =&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;DATEDIFF&lt;/SPAN&gt;&l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PAN&gt;&lt;SPAN&gt;[Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Query1'&lt;/SPAN&gt;&lt;SPAN&gt;[StartDate]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Query1'&lt;/SPAN&gt;&lt;SPAN&gt;[FinishDate]&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)-&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;RETURN&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;IF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;_Datediff&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;_Datediff&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 11 Feb 2025 15:01:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-through-put-time-of-a-process-for-partial/m-p/4405376#M174882</guid>
      <dc:creator>MF_BSC</dc:creator>
      <dc:date>2025-02-11T15:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the through put time of a process for partial workdays only</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-through-put-time-of-a-process-for-partial/m-p/4405407#M174887</link>
      <description>&lt;P&gt;You could combine the approaches you have tried. First work out the total difference including non-working days, then count the number of working days, multiply that by 24 and take it off the total difference.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 15:18:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-through-put-time-of-a-process-for-partial/m-p/4405407#M174887</guid>
      <dc:creator>johnt75</dc:creator>
      <dc:date>2025-02-11T15:18:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the through put time of a process for partial workdays only</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-through-put-time-of-a-process-for-partial/m-p/4405409#M174888</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="929273" data-lia-user-login="MF_BSC" class="lia-mention lia-mention-user"&gt;MF_BSC&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since you have start dates and end dates, the best approach to address your requirement is to use a disconnected calendar table to calculate the duration flexibly. With the disconnected table, you will be able to address the weekend etc., and time intelligence function in the calendar table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 15:20:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-through-put-time-of-a-process-for-partial/m-p/4405409#M174888</guid>
      <dc:creator>DataNinja777</dc:creator>
      <dc:date>2025-02-11T15:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to calculate the through put time of a process for partial workdays only</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-through-put-time-of-a-process-for-partial/m-p/4405635#M174909</link>
      <description>&lt;H1&gt;I found an you tube video that does just as you described.&lt;/H1&gt;&lt;H1&gt;Calculated Busines Hours using DAX (Working Hours in Power BI &amp;amp; Power Pivot-Excel) by Power GI&lt;/H1&gt;</description>
      <pubDate>Tue, 11 Feb 2025 18:31:01 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-calculate-the-through-put-time-of-a-process-for-partial/m-p/4405635#M174909</guid>
      <dc:creator>MF_BSC</dc:creator>
      <dc:date>2025-02-11T18:31:01Z</dc:date>
    </item>
  </channel>
</rss>

