<?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 Date status column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-status-column/m-p/2709760#M82273</link>
    <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;I am looking to create a column which indicates the status of each task which covers all eventualites. I am using four date columns, Start Date, Finish Date, Actual Start &amp;amp; Actual Finish.&lt;/P&gt;&lt;P&gt;The Status' i am looking to create are; Complete, In Progress, Planned, Late Starting &amp;amp; Late Finishing. So far i have managed to get the below working:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In progress&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I think this Status needs to only show 'In Progress' when the Actual Start date is populated but i am happy with the above formula as this gives me a good idea of what is In progress even if the programme managers havent updated the Actual Start Date field.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Planned&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Complete&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For this entry i am looking to show the status as Complete once all four date columns have been populated with dates.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Late Starting&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For this entry i am looking to show the Status as Late Starting when the Start Date is passed todays date and the Actual Start field is blank/empty.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Late Finishing&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For this i am looking to show the Status as Late Finishing when the Actual Start date is populated but the Finish Date is passed today date.&lt;/P&gt;&lt;P&gt;Any advice/guidance on this would be greatly appreciated. Happy to share more information if required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 18 Aug 2022 11:52:45 GMT</pubDate>
    <dc:creator>JoeHazelton</dc:creator>
    <dc:date>2022-08-18T11:52:45Z</dc:date>
    <item>
      <title>Date status column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-status-column/m-p/2709760#M82273</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;&lt;P&gt;I am looking to create a column which indicates the status of each task which covers all eventualites. I am using four date columns, Start Date, Finish Date, Actual Start &amp;amp; Actual Finish.&lt;/P&gt;&lt;P&gt;The Status' i am looking to create are; Complete, In Progress, Planned, Late Starting &amp;amp; Late Finishing. So far i have managed to get the below working:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;In progress&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;I think this Status needs to only show 'In Progress' when the Actual Start date is populated but i am happy with the above formula as this gives me a good idea of what is In progress even if the programme managers havent updated the Actual Start Date field.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Planned&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Complete&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For this entry i am looking to show the status as Complete once all four date columns have been populated with dates.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Late Starting&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For this entry i am looking to show the Status as Late Starting when the Start Date is passed todays date and the Actual Start field is blank/empty.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Late Finishing&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;For this i am looking to show the Status as Late Finishing when the Actual Start date is populated but the Finish Date is passed today date.&lt;/P&gt;&lt;P&gt;Any advice/guidance on this would be greatly appreciated. Happy to share more information if required.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 11:52:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-status-column/m-p/2709760#M82273</guid>
      <dc:creator>JoeHazelton</dc:creator>
      <dc:date>2022-08-18T11:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date status column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-status-column/m-p/2709801#M82275</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="285907" data-lia-user-login="JoeHazelton" class="lia-mention lia-mention-user"&gt;JoeHazelton&lt;/a&gt;&amp;nbsp;&amp;nbsp;It would be great if you could give an example of the data&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 12:19:15 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-status-column/m-p/2709801#M82275</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-08-18T12:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: Date status column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-status-column/m-p/2709870#M82277</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="285907" data-lia-user-login="JoeHazelton" class="lia-mention lia-mention-user"&gt;JoeHazelton&lt;/a&gt;&amp;nbsp;I tried to simulate the example data, look maybe it will lead you to the right idea in solving your problem&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;measure = 
SWITCH( 
    TRUE(),
    [Start Date] &amp;gt; TODAY(), "Planned",
    AND([Start Date], [Finish Date]) &amp;amp;&amp;amp; AND([Actual Start], [Actual Finish]) &amp;lt;&amp;gt; BLANK(), "Complete",
    AND([Start Date] &amp;lt;= TODAY(), [Actual Start] = BLANK()),  "Late Starting", 
    "Late Finishing"
      )&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 12:39:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-status-column/m-p/2709870#M82277</guid>
      <dc:creator>DimaMD</dc:creator>
      <dc:date>2022-08-18T12:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Date status column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-status-column/m-p/2709938#M82280</link>
      <description>&lt;P&gt;Wow! DimaMD..that totally works!. It covers every single possible date that my report throws out without any gaps..I cannot thank you enough.&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Joe&lt;/P&gt;</description>
      <pubDate>Thu, 18 Aug 2022 12:57:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Date-status-column/m-p/2709938#M82280</guid>
      <dc:creator>JoeHazelton</dc:creator>
      <dc:date>2022-08-18T12:57:42Z</dc:date>
    </item>
  </channel>
</rss>

