<?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: How to get Next available date in calculate column in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4319124#M171471</link>
    <description>&lt;P&gt;AvailableDate=MAXX(FILTER(Table,Table[ID]=EARLIER(Table[ID])&amp;amp;&amp;amp;Table[Estimate]=EARLIER(Table[Estimate])&amp;amp;&amp;amp;Table[ChangeDate]&amp;gt;=EARLIER(Table[ChangeDate])),Table[Dates])&lt;/P&gt;</description>
    <pubDate>Mon, 09 Dec 2024 07:03:17 GMT</pubDate>
    <dc:creator>wdx223_Daniel</dc:creator>
    <dc:date>2024-12-09T07:03:17Z</dc:date>
    <item>
      <title>How to get Next available date in calculate column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4319103#M171470</link>
      <description>&lt;P&gt;Hi Community Member,&lt;/P&gt;&lt;P&gt;Need your help to get some output.&lt;/P&gt;&lt;P&gt;Below is the detailed explanation and what result we need to get.&lt;/P&gt;&lt;P&gt;My actual data set is like below:-&amp;nbsp;&lt;/P&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;&lt;P&gt;and based on the above dataset and I need to create one calcualted column [AvailableDate] just like below image,&lt;/P&gt;&lt;P&gt;In this column, if dates column is blank then it should consider next available date as you can see in the below pic.&lt;/P&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 06:55:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4319103#M171470</guid>
      <dc:creator>AmitSaini</dc:creator>
      <dc:date>2024-12-09T06:55:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Next available date in calculate column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4319124#M171471</link>
      <description>&lt;P&gt;AvailableDate=MAXX(FILTER(Table,Table[ID]=EARLIER(Table[ID])&amp;amp;&amp;amp;Table[Estimate]=EARLIER(Table[Estimate])&amp;amp;&amp;amp;Table[ChangeDate]&amp;gt;=EARLIER(Table[ChangeDate])),Table[Dates])&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 07:03:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4319124#M171471</guid>
      <dc:creator>wdx223_Daniel</dc:creator>
      <dc:date>2024-12-09T07:03:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Next available date in calculate column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4319177#M171473</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/264353" target="_self"&gt;&lt;SPAN class=""&gt;wdx223_Daniel&lt;/SPAN&gt;&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I used the code suggest by you but it doesn't work.&lt;/P&gt;&lt;P&gt;see below output screenshot.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 07:14:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4319177#M171473</guid>
      <dc:creator>AmitSaini</dc:creator>
      <dc:date>2024-12-09T07:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Next available date in calculate column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4319295#M171474</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="857894" data-lia-user-login="AmitSaini" class="lia-mention lia-mention-user"&gt;AmitSaini&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please try the below code ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;AvailableDate = &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;VAR CurrentRowDate = TableName[Dates]&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;VAR NextAvailableDate = &lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;CALCULATE(&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;MIN(TableName[Dates]),&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;TableName[Dates] &amp;gt; CurrentRowDate&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;RETURN&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#FF0000"&gt;IF(ISBLANK(CurrentRowDate), NextAvailableDate, CurrentRowDate)&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;U&gt;&lt;STRONG&gt;If you find this helpful , please mark it as solution which will be helpful for others and Your Kudos/Likes &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt; are much appreciated!&lt;/STRONG&gt;&lt;/U&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;Dharmendar S&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.linkedin.com/in/dharmendar-s-b5b43463/" target="_blank" rel="noopener"&gt;&lt;SPAN&gt;LinkedIN&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 08:15:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4319295#M171474</guid>
      <dc:creator>dharmendars007</dc:creator>
      <dc:date>2024-12-09T08:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Next available date in calculate column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4319389#M171478</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="796215" data-lia-user-login="dharmendars007" class="lia-mention lia-mention-user"&gt;dharmendars007&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the reply.&lt;/P&gt;&lt;P&gt;tried your code and it doesn't work. still giving the blank dates in available date column. See below pic.&lt;/P&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 09:19:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4319389#M171478</guid>
      <dc:creator>AmitSaini</dc:creator>
      <dc:date>2024-12-09T09:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Next available date in calculate column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4320617#M171538</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="857894" data-lia-user-login="AmitSaini" class="lia-mention lia-mention-user"&gt;AmitSaini&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can try this.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;AvailableDate = 
VAR CurrentDate = 'Table'[Dates]
VAR NextDate = 
    CALCULATE(
        MIN('Table'[Dates]),
        FILTER(
            'Table',
            'Table'[Dates] &amp;lt;&amp;gt; BLANK() &amp;amp;&amp;amp; 'Table'[ChangedDate] &amp;gt; EARLIER('Table'[ChangedDate])
        )
    )
RETURN
    IF(
        ISBLANK(CurrentDate),
        NextDate,
        CurrentDate
    )&lt;/LI-CODE&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;If your Current Period does not refer to this, please clarify in a follow-up reply.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Clara Gong&lt;/P&gt;
&lt;P&gt;If there is any post&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&amp;nbsp;&lt;STRONG&gt;&lt;I&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 01:29:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4320617#M171538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-12-10T01:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get Next available date in calculate column</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4320847#M171548</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for the solution. it works really well. Appreciate it.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2024 04:32:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-to-get-Next-available-date-in-calculate-column/m-p/4320847#M171548</guid>
      <dc:creator>AmitSaini</dc:creator>
      <dc:date>2024-12-10T04:32:57Z</dc:date>
    </item>
  </channel>
</rss>

