<?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: DAX Calculation to retrieve the entry before in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculation-to-retrieve-the-entry-before/m-p/2881560#M93290</link>
    <description>&lt;P&gt;=MAXX(FILTER(Sales,Sales[Sale Person]=EARLIER(Sales[Sale Person])&amp;amp;&amp;amp;Sales[Sale Time]&amp;lt;EARLIER(Sales[Sale Time])),Sales[Sale Time])&lt;/P&gt;</description>
    <pubDate>Thu, 03 Nov 2022 01:32:35 GMT</pubDate>
    <dc:creator>wdx223_Daniel</dc:creator>
    <dc:date>2022-11-03T01:32:35Z</dc:date>
    <item>
      <title>DAX Calculation to retrieve the entry before</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculation-to-retrieve-the-entry-before/m-p/2881345#M93279</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Looking for some help please.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to return the previous 'Sale time' based on the 'Sales Person' of each row in my 'Sales' table.&lt;/P&gt;&lt;P&gt;Unfortunatley the index is based on all sales in the shop and thus I can't use -1 on the index as the Sales Person can vary.&lt;/P&gt;&lt;P&gt;See below image in Power BI, the DAX formula I have created using EARLIER in column 'Prior Sales Time (DAX Help)' is not returning the prior sales time for the sales person for the row.&amp;nbsp; See the 'Prior Sales Time (the answer I'm after)' column for what the value I'm expecting in my DAX formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2022 21:48:06 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculation-to-retrieve-the-entry-before/m-p/2881345#M93279</guid>
      <dc:creator>MWare</dc:creator>
      <dc:date>2022-11-02T21:48:06Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Calculation to retrieve the entry before</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculation-to-retrieve-the-entry-before/m-p/2881560#M93290</link>
      <description>&lt;P&gt;=MAXX(FILTER(Sales,Sales[Sale Person]=EARLIER(Sales[Sale Person])&amp;amp;&amp;amp;Sales[Sale Time]&amp;lt;EARLIER(Sales[Sale Time])),Sales[Sale Time])&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 01:32:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculation-to-retrieve-the-entry-before/m-p/2881560#M93290</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2022-11-03T01:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Calculation to retrieve the entry before</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculation-to-retrieve-the-entry-before/m-p/2883178#M93391</link>
      <description>&lt;P&gt;Perfect! thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Nov 2022 14:40:50 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Calculation-to-retrieve-the-entry-before/m-p/2883178#M93391</guid>
      <dc:creator>MWare</dc:creator>
      <dc:date>2022-11-03T14:40:50Z</dc:date>
    </item>
  </channel>
</rss>

