<?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: Optimizing ALLEXCEPT - Getting the next date per categories in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Optimizing-ALLEXCEPT-Getting-the-next-date-per-categories/m-p/1785227#M37493</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="149408" data-lia-user-login="zaza" class="lia-mention lia-mention-user"&gt;zaza&lt;/a&gt; , Try a new column like &lt;/P&gt;
&lt;P&gt;minx(filter(Calls, [Customer] =earlier([Customer]) &amp;amp;&amp;amp; [Date] &amp;gt; earlier([Date]) &amp;amp;&amp;amp; [Type] = "OUTBOUND"),[Date])&lt;/P&gt;</description>
    <pubDate>Wed, 14 Apr 2021 17:33:18 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-04-14T17:33:18Z</dc:date>
    <item>
      <title>Optimizing ALLEXCEPT - Getting the next date per categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Optimizing-ALLEXCEPT-Getting-the-next-date-per-categories/m-p/1784488#M37466</link>
      <description>&lt;P&gt;I wrote this calculated column and it works perfectly, but the problem is that it takes way too much time to load. Question is, how can I optimize this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;NextOutboundCall = 
    VAR __call = Calls[Date]

    RETURN
        CALCULATE ( 
            MIN ( Calls[Date] ), 
            FILTER ( 
                ALLEXCEPT ( Calls, Calls[Customer] ), 
                Calls[Date] &amp;gt; __call &amp;amp;&amp;amp; 
                Calls[Type] = "OUTBOUND" 
            ) 
        )&lt;/LI-CODE&gt;&lt;P&gt;My data looks like this (I'm replacing results with blank where there are blanks):&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 11:48:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Optimizing-ALLEXCEPT-Getting-the-next-date-per-categories/m-p/1784488#M37466</guid>
      <dc:creator>zaza</dc:creator>
      <dc:date>2021-04-14T11:48:22Z</dc:date>
    </item>
    <item>
      <title>Re: Optimizing ALLEXCEPT - Getting the next date per categories</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Optimizing-ALLEXCEPT-Getting-the-next-date-per-categories/m-p/1785227#M37493</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="149408" data-lia-user-login="zaza" class="lia-mention lia-mention-user"&gt;zaza&lt;/a&gt; , Try a new column like &lt;/P&gt;
&lt;P&gt;minx(filter(Calls, [Customer] =earlier([Customer]) &amp;amp;&amp;amp; [Date] &amp;gt; earlier([Date]) &amp;amp;&amp;amp; [Type] = "OUTBOUND"),[Date])&lt;/P&gt;</description>
      <pubDate>Wed, 14 Apr 2021 17:33:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Optimizing-ALLEXCEPT-Getting-the-next-date-per-categories/m-p/1785227#M37493</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-04-14T17:33:18Z</dc:date>
    </item>
  </channel>
</rss>

