<?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: EARLIER function dax in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/EARLIER-function-dax/m-p/3155179#M113146</link>
    <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="326320" data-lia-user-login="bjurek" class="lia-mention lia-mention-user"&gt;bjurek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create calculated column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Calculated Column1 =
MAXX(
    FILTER(ALL('Table'),
    'Table'[Shop]=EARLIER('Table'[Shop])&amp;amp;&amp;amp;
    'Table'[Date]&amp;lt;EARLIER('Table'[Date])),[Date])&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 06:06:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2023-03-27T06:06:22Z</dc:date>
    <item>
      <title>EARLIER function dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/EARLIER-function-dax/m-p/3150270#M112820</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;Can someone help me write this correctly? It's about entering a value from an earlier date. I'm trying to do it using "EARLIER" but it doesn't work for me.&lt;/SPAN&gt;&lt;/PRE&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>Thu, 23 Mar 2023 14:27:49 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/EARLIER-function-dax/m-p/3150270#M112820</guid>
      <dc:creator>bjurek</dc:creator>
      <dc:date>2023-03-23T14:27:49Z</dc:date>
    </item>
    <item>
      <title>Re: EARLIER function dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/EARLIER-function-dax/m-p/3150504#M112837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="326320" data-lia-user-login="bjurek" class="lia-mention lia-mention-user"&gt;bjurek&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please clarify further the part that says "&lt;EM&gt;skip product B".&amp;nbsp;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;Previous Product =&lt;BR /&gt;MAXX (&lt;BR /&gt;TOPN (&lt;BR /&gt;1,&lt;BR /&gt;FILTER (&lt;BR /&gt;CALCULATETABLE ( ALLEXCEPT ( 'Table', 'Table'[Shop] ) ),&lt;BR /&gt;'Table'[Date] &amp;lt; EARLIER ( 'Table'[Date] )&lt;BR /&gt;),&lt;BR /&gt;'Table'[Date]&lt;BR /&gt;),&lt;BR /&gt;'Table'[Product]&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 16:06:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/EARLIER-function-dax/m-p/3150504#M112837</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-03-23T16:06:06Z</dc:date>
    </item>
    <item>
      <title>Re: EARLIER function dax</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/EARLIER-function-dax/m-p/3155179#M113146</link>
      <description>&lt;P&gt;Hi&amp;nbsp; &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="326320" data-lia-user-login="bjurek" class="lia-mention lia-mention-user"&gt;bjurek&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here are the steps you can follow：&lt;/P&gt;
&lt;P&gt;1. Create calculated column.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Calculated Column1 =
MAXX(
    FILTER(ALL('Table'),
    'Table'[Shop]=EARLIER('Table'[Shop])&amp;amp;&amp;amp;
    'Table'[Date]&amp;lt;EARLIER('Table'[Date])),[Date])&lt;/LI-CODE&gt;
&lt;P&gt;2. Result:&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Liu Yang&lt;/P&gt;
&lt;P&gt;If this post &lt;STRONG&gt;helps&lt;/STRONG&gt;, then please consider &lt;EM&gt;Accept it as the solution&lt;/EM&gt; to help the other members find it more quickly&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 06:06:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/EARLIER-function-dax/m-p/3155179#M113146</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2023-03-27T06:06:22Z</dc:date>
    </item>
  </channel>
</rss>

