<?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: Lastnonblank  date - calculated column for each category and date range in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1637932#M33247</link>
    <description>&lt;P&gt;If not solved already try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=CALCULATE(max(Table1[date]),FILTER(all(Table1),Table1[acct]=EARLIER(Table1[acct])))&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;</description>
    <pubDate>Tue, 02 Feb 2021 07:12:32 GMT</pubDate>
    <dc:creator>rfigtree</dc:creator>
    <dc:date>2021-02-02T07:12:32Z</dc:date>
    <item>
      <title>Lastnonblank  date - calculated column for each category and date range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1636388#M33214</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;could anybody give me an advice how to create calculate column for lastnonblank date for each category and within the date range, please ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table where are dates, accounts and balance. Balance is available only for some dates.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to calculate date, where the balance is not blank, but for each account separately.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example account "AAA" has balance in 29.1.2021 and 27.1.2021.&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;So for date 31.1.2021 and account "AAA" there is a last non blank date : 29.1.2021&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But for date 28.1.2021 and account "AAA" there is a last non blank date 27.1.2021&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A need this DAX as CALCULATED COLUMN - not measure.&lt;/P&gt;&lt;P&gt;I would be very greatful if someone could help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 17:13:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1636388#M33214</guid>
      <dc:creator>Andreew14</dc:creator>
      <dc:date>2021-02-01T17:13:43Z</dc:date>
    </item>
    <item>
      <title>Re: Lastnonblank  date - calculated column for each category and date range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1636392#M33215</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="238659" data-lia-user-login="Andreew14" class="lia-mention lia-mention-user"&gt;Andreew14&lt;/a&gt; , Try a new measure like &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculate(max(Table[Date]), not(isblank(Table[balance])), allexcept(Table, Table[Account]))&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 17:15:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1636392#M33215</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-02-01T17:15:55Z</dc:date>
    </item>
    <item>
      <title>Re: Lastnonblank  date - calculated column for each category and date range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1636415#M33216</link>
      <description>&lt;P&gt;Hi amitchandak,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for replying.&lt;/P&gt;&lt;P&gt;But it not working properly (for account "AAA" in 28.1.2021 , there should be last nonblank date 27.1.2021 and not 29.1.2021).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need it as calculated column. Could you help?&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 17:26:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1636415#M33216</guid>
      <dc:creator>Andreew14</dc:creator>
      <dc:date>2021-02-01T17:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: Lastnonblank  date - calculated column for each category and date range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1636449#M33218</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="238659" data-lia-user-login="Andreew14" class="lia-mention lia-mention-user"&gt;Andreew14&lt;/a&gt; , try like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculate(max(Table[Date]), not(isblank(Table[balance])), allexcept(Table, Table[Account]), filter(Table, [Date] &amp;lt;=max(Table[Date])))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;or&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;calculate(max(Table[Date]), allexcept(Table, Table[Account]), filter(Table, [Date] &amp;lt;=max(Table[Date]) &amp;amp;&amp;amp;&amp;nbsp; not(isblank(Table[balance]))))&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 17:39:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1636449#M33218</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-02-01T17:39:26Z</dc:date>
    </item>
    <item>
      <title>Re: Lastnonblank  date - calculated column for each category and date range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1636475#M33219</link>
      <description>&lt;P&gt;None of two mentioned measures is working.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Only dates where is a any balance are showing. &amp;nbsp;Where is no balance , measures are empty.&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;</description>
      <pubDate>Mon, 01 Feb 2021 17:50:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1636475#M33219</guid>
      <dc:creator>Andreew14</dc:creator>
      <dc:date>2021-02-01T17:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Lastnonblank  date - calculated column for each category and date range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1637887#M33246</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="238659" data-lia-user-login="Andreew14" class="lia-mention lia-mention-user"&gt;Andreew14&lt;/a&gt; ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 06:56:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1637887#M33246</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-02-02T06:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: Lastnonblank  date - calculated column for each category and date range</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1637932#M33247</link>
      <description>&lt;P&gt;If not solved already try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;=CALCULATE(max(Table1[date]),FILTER(all(Table1),Table1[acct]=EARLIER(Table1[acct])))&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;</description>
      <pubDate>Tue, 02 Feb 2021 07:12:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Lastnonblank-date-calculated-column-for-each-category-and-date/m-p/1637932#M33247</guid>
      <dc:creator>rfigtree</dc:creator>
      <dc:date>2021-02-02T07:12:32Z</dc:date>
    </item>
  </channel>
</rss>

