<?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: when applying filter should not affect dax measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/when-applying-filter-should-not-affect-dax-measure/m-p/3176022#M114641</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="235274" data-lia-user-login="rveerasamy" class="lia-mention lia-mention-user"&gt;rveerasamy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please clarify what do you mean by&amp;nbsp;&lt;EM&gt;"&lt;SPAN&gt;when I add filter to the table it should not affect the dax"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also both CALCULATE and CALCULATETABLE are doing nothing in this case. Can simply write&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Days To Fulfill =&lt;BR /&gt;VAR childorderdate =&lt;BR /&gt;MAXX (&lt;BR /&gt;FILTER ( 'PBI_BBA_SALES', NOT ISBLANK ( 'PBI_BBA_SALES'[Ref Id] ) ),&lt;BR /&gt;PBI_BBA_SALES[Order Date]&lt;BR /&gt;)&lt;BR /&gt;RETURN&lt;BR /&gt;DATEDIFF ( MAX ( 'PBI_BBA_SALES'[Order Date] ), childorderdate, DAY )&lt;/P&gt;</description>
    <pubDate>Thu, 06 Apr 2023 13:00:14 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2023-04-06T13:00:14Z</dc:date>
    <item>
      <title>when applying filter should not affect dax measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/when-applying-filter-should-not-affect-dax-measure/m-p/3175973#M114637</link>
      <description>&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Hi Experts,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I'm searching for solution that when applying filter it should not affect dax.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Days To Fulfill = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;VAR&lt;/SPAN&gt;&lt;SPAN&gt; childorderdate =&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;MAXX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATETABLE&lt;/SPAN&gt;&lt;SPAN&gt;('PBI_BBA_SALES',&lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;('PBI_BBA_SALES',&lt;/SPAN&gt;&lt;SPAN&gt;NOT&lt;/SPAN&gt; &lt;SPAN&gt;ISBLANK&lt;/SPAN&gt;&lt;SPAN&gt;('PBI_BBA_SALES'[Ref Id]) ) ),PBI_BBA_SALES[Order Date])&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Return&lt;/SPAN&gt; &lt;SPAN&gt;DATEDIFF&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;('PBI_BBA_SALES'[Order Date]),childorderdate,DAY)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;this is the measure I have created but when I add filter to the table it should not affect the dax&lt;BR /&gt;this is the solution I need&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="41231" data-lia-user-login="timl" class="lia-mention lia-mention-user"&gt;timl&lt;/a&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Apr 2023 13:21:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/when-applying-filter-should-not-affect-dax-measure/m-p/3175973#M114637</guid>
      <dc:creator>rveerasamy</dc:creator>
      <dc:date>2023-04-06T13:21:33Z</dc:date>
    </item>
    <item>
      <title>Re: when applying filter should not affect dax measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/when-applying-filter-should-not-affect-dax-measure/m-p/3176022#M114641</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="235274" data-lia-user-login="rveerasamy" class="lia-mention lia-mention-user"&gt;rveerasamy&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please clarify what do you mean by&amp;nbsp;&lt;EM&gt;"&lt;SPAN&gt;when I add filter to the table it should not affect the dax"&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Also both CALCULATE and CALCULATETABLE are doing nothing in this case. Can simply write&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Days To Fulfill =&lt;BR /&gt;VAR childorderdate =&lt;BR /&gt;MAXX (&lt;BR /&gt;FILTER ( 'PBI_BBA_SALES', NOT ISBLANK ( 'PBI_BBA_SALES'[Ref Id] ) ),&lt;BR /&gt;PBI_BBA_SALES[Order Date]&lt;BR /&gt;)&lt;BR /&gt;RETURN&lt;BR /&gt;DATEDIFF ( MAX ( 'PBI_BBA_SALES'[Order Date] ), childorderdate, DAY )&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 13:00:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/when-applying-filter-should-not-affect-dax-measure/m-p/3176022#M114641</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-04-06T13:00:14Z</dc:date>
    </item>
  </channel>
</rss>

