<?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: Networkdays with filter function in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Networkdays-with-filter-function/m-p/4309528#M171145</link>
    <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="879177" data-lia-user-login="anil_patil65" class="lia-mention lia-mention-user"&gt;anil_patil65&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the first argument for CALCULATE should return a value, instead of a table (like the FILTER expression in your original post), that is why you encountered an error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CALCULATE can overwrite filter context, so you will not be able to filter the columns as long as you wrap it inside CALCULATE.&lt;/P&gt;</description>
    <pubDate>Mon, 02 Dec 2024 09:12:08 GMT</pubDate>
    <dc:creator>FreemanZ</dc:creator>
    <dc:date>2024-12-02T09:12:08Z</dc:date>
    <item>
      <title>Networkdays with filter function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Networkdays-with-filter-function/m-p/4309441#M171136</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I want to calculate Turn Around Days of the tasks by filtering couple of columns. I am using below formula, but its showing as error. Please help me on this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TAD1 =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Drawing &amp;amp; Design Review Tracker'&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;'Drawing &amp;amp; Design Review Tracker'&lt;/SPAN&gt;&lt;SPAN&gt;[Release Status]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Before Release"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;'Drawing &amp;amp; Design Review Tracker'&lt;/SPAN&gt;&lt;SPAN&gt;[Drawing/Design]&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;"Drawing"&lt;/SPAN&gt;&lt;SPAN&gt;),&lt;/SPAN&gt;&lt;SPAN&gt;NETWORKDAYS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Drawing &amp;amp; Design Review Tracker'&lt;/SPAN&gt;&lt;SPAN&gt;[Received Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Drawing &amp;amp; Design Review Tracker'&lt;/SPAN&gt;&lt;SPAN&gt;[Delivery Date]&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Anil Patil&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 02 Dec 2024 07:40:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Networkdays-with-filter-function/m-p/4309441#M171136</guid>
      <dc:creator>anil_patil65</dc:creator>
      <dc:date>2024-12-02T07:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: Networkdays with filter function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Networkdays-with-filter-function/m-p/4309474#M171143</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="879177" data-lia-user-login="anil_patil65" class="lia-mention lia-mention-user"&gt;anil_patil65&lt;/a&gt;&amp;nbsp;, Try using updated measure&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DAX&lt;BR /&gt;TAD1 = &lt;BR /&gt;CALCULATE(&lt;BR /&gt;NETWORKDAYS(&lt;BR /&gt;'Drawing &amp;amp; Design Review Tracker'[Received Date],&lt;BR /&gt;'Drawing &amp;amp; Design Review Tracker'[Delivery Date]&lt;BR /&gt;),&lt;BR /&gt;FILTER(&lt;BR /&gt;'Drawing &amp;amp; Design Review Tracker',&lt;BR /&gt;'Drawing &amp;amp; Design Review Tracker'[Release Status] = "Before Release" &amp;amp;&amp;amp;&lt;BR /&gt;'Drawing &amp;amp; Design Review Tracker'[Drawing/Design] = "Drawing"&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 08:17:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Networkdays-with-filter-function/m-p/4309474#M171143</guid>
      <dc:creator>bhanu_gautam</dc:creator>
      <dc:date>2024-12-02T08:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: Networkdays with filter function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Networkdays-with-filter-function/m-p/4309496#M171144</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="625922" data-lia-user-login="bhanu_gautam" class="lia-mention lia-mention-user"&gt;bhanu_gautam&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I flip the functions, I can't choose Received date and Delivered Date for Networkdays from the '&lt;SPAN&gt;Drawing &amp;amp; Design Review Tracker' table.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Anil Patil&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 08:40:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Networkdays-with-filter-function/m-p/4309496#M171144</guid>
      <dc:creator>anil_patil65</dc:creator>
      <dc:date>2024-12-02T08:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Networkdays with filter function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Networkdays-with-filter-function/m-p/4309528#M171145</link>
      <description>&lt;P&gt;hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="879177" data-lia-user-login="anil_patil65" class="lia-mention lia-mention-user"&gt;anil_patil65&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the first argument for CALCULATE should return a value, instead of a table (like the FILTER expression in your original post), that is why you encountered an error.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CALCULATE can overwrite filter context, so you will not be able to filter the columns as long as you wrap it inside CALCULATE.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2024 09:12:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Networkdays-with-filter-function/m-p/4309528#M171145</guid>
      <dc:creator>FreemanZ</dc:creator>
      <dc:date>2024-12-02T09:12:08Z</dc:date>
    </item>
    <item>
      <title>Re: Networkdays with filter function</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Networkdays-with-filter-function/m-p/4309545#M171147</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="460868" data-lia-user-login="FreemanZ" class="lia-mention lia-mention-user"&gt;FreemanZ&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for your response &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Now I have slightly modified it and its working fine. I wanted an average value of turn around days on a monthly basis by filtering few columns. Here is the modified version&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TAD1 =&lt;/SPAN&gt; &lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;AVERAGEX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Drawing &amp;amp; Design Review Tracker'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;NETWORKDAYS&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Drawing &amp;amp; Design Review Tracker'&lt;/SPAN&gt;&lt;SPAN&gt;[Received Date]&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Drawing &amp;amp; Design Review Tracker'&lt;/SPAN&gt;&lt;SPAN&gt;[Delivery Date]&lt;/SPAN&gt;&lt;SPAN&gt;)),&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;'Drawing &amp;amp; Design Review Tracker'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;SPAN&gt;'Drawing &amp;amp; Design Review Tracker'&lt;/SPAN&gt;&lt;SPAN&gt;[Drawing/Design]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"Drawing"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;amp;&amp;amp;&lt;/SPAN&gt;&lt;SPAN&gt;'Drawing &amp;amp; Design Review Tracker'&lt;/SPAN&gt;&lt;SPAN&gt;[Release Status]&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"Before Release"&lt;/SPAN&gt;&lt;SPAN&gt;))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 02 Dec 2024 09:18:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Networkdays-with-filter-function/m-p/4309545#M171147</guid>
      <dc:creator>anil_patil65</dc:creator>
      <dc:date>2024-12-02T09:18:53Z</dc:date>
    </item>
  </channel>
</rss>

