<?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 How to return the earliest date/time among a subset of data in a table in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-return-the-earliest-date-time-among-a-subset-of-data-in-a/m-p/3424777#M129711</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my first post on this forum so if it can be improved in any way or in the wrong spot please let me know!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table called 'REQUISITION CYCLE' that I created from another table. The relationships for this table look like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 'REQUISITION CYCLE' table includes a field called 'ACTION_DATE' which lists the dates and times that 'actions' happened to the Requisitions. It also includes a field called 'STATUS' which lists the 'actions' that have occured (such as authorized, reviewed, etc.).&amp;nbsp;What I would like to do is to create a new column called 'FIRST REVIEW' to capture the date/time that each Requisition is first reviewed (Requisitions can be reviewed multiple times).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the DAX I have written so far:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the data it is giving me:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The date being returned in the first review column is the earliest for the document but not the earliest for document, for the 'REVIEWED' status.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated!'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 11 Sep 2023 17:00:59 GMT</pubDate>
    <dc:creator>trcstuart</dc:creator>
    <dc:date>2023-09-11T17:00:59Z</dc:date>
    <item>
      <title>How to return the earliest date/time among a subset of data in a table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-return-the-earliest-date-time-among-a-subset-of-data-in-a/m-p/3424777#M129711</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is my first post on this forum so if it can be improved in any way or in the wrong spot please let me know!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table called 'REQUISITION CYCLE' that I created from another table. The relationships for this table look like this:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The 'REQUISITION CYCLE' table includes a field called 'ACTION_DATE' which lists the dates and times that 'actions' happened to the Requisitions. It also includes a field called 'STATUS' which lists the 'actions' that have occured (such as authorized, reviewed, etc.).&amp;nbsp;What I would like to do is to create a new column called 'FIRST REVIEW' to capture the date/time that each Requisition is first reviewed (Requisitions can be reviewed multiple times).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the DAX I have written so far:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the data it is giving me:&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The date being returned in the first review column is the earliest for the document but not the earliest for document, for the 'REVIEWED' status.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated!'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 17:00:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-return-the-earliest-date-time-among-a-subset-of-data-in-a/m-p/3424777#M129711</guid>
      <dc:creator>trcstuart</dc:creator>
      <dc:date>2023-09-11T17:00:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to return the earliest date/time among a subset of data in a table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-return-the-earliest-date-time-among-a-subset-of-data-in-a/m-p/3424847#M129715</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="361880" data-lia-user-login="trcstuart" class="lia-mention lia-mention-user"&gt;trcstuart&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;please try&lt;/P&gt;
&lt;P&gt;First Review =&lt;BR /&gt;MINX (&lt;BR /&gt;FILTER (&lt;BR /&gt;CALCULATETABLE (&lt;BR /&gt;'Requisition Cycle',&lt;BR /&gt;ALLEXCEPT ( 'Requisition Cycle', 'Requisition Cycle'[Document_ID] )&lt;BR /&gt;),&lt;BR /&gt;'Requisition Cycle'[Status] = "REVIEWED"&lt;BR /&gt;),&lt;BR /&gt;'Requisition Cycle'[Action_Date]&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 18:02:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-return-the-earliest-date-time-among-a-subset-of-data-in-a/m-p/3424847#M129715</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2023-09-11T18:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to return the earliest date/time among a subset of data in a table</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-return-the-earliest-date-time-among-a-subset-of-data-in-a/m-p/3425015#M129725</link>
      <description>&lt;P&gt;Thanks &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;!! Worked perfectly!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Sep 2023 20:40:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-return-the-earliest-date-time-among-a-subset-of-data-in-a/m-p/3425015#M129725</guid>
      <dc:creator>trcstuart</dc:creator>
      <dc:date>2023-09-11T20:40:34Z</dc:date>
    </item>
  </channel>
</rss>

