<?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 fillter result by date for lastdate in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/fillter-result-by-date-for-lastdate/m-p/1816787#M38457</link>
    <description>&lt;P&gt;Hi All&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to get only the last sales date as one date, now this DAX :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LastDate NetSales = CALCULATE([Sales ExVAT/ExCHARITY],LASTDATE(SALESTRANSACTION[SALES DATE]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Giving the last date of each store, may this date have no sales for some stores.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example :&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;Thanks in Advance...&lt;/P&gt;</description>
    <pubDate>Fri, 30 Apr 2021 13:05:19 GMT</pubDate>
    <dc:creator>islam_zaki</dc:creator>
    <dc:date>2021-04-30T13:05:19Z</dc:date>
    <item>
      <title>fillter result by date for lastdate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/fillter-result-by-date-for-lastdate/m-p/1816787#M38457</link>
      <description>&lt;P&gt;Hi All&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to get only the last sales date as one date, now this DAX :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LastDate NetSales = CALCULATE([Sales ExVAT/ExCHARITY],LASTDATE(SALESTRANSACTION[SALES DATE]))&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Giving the last date of each store, may this date have no sales for some stores.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;example :&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;Thanks in Advance...&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 13:05:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/fillter-result-by-date-for-lastdate/m-p/1816787#M38457</guid>
      <dc:creator>islam_zaki</dc:creator>
      <dc:date>2021-04-30T13:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: fillter result by date for lastdate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/fillter-result-by-date-for-lastdate/m-p/1816842#M38464</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="249188" data-lia-user-login="islam_zaki" class="lia-mention lia-mention-user"&gt;islam_zaki&lt;/a&gt; , You have to try something like&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Measure = &lt;BR /&gt;VAR __id = MAX ('Table'[Store] )&lt;BR /&gt;VAR __date = CALCULATE ( MAX('Table'[Date] ), ALLSELECTED ('Table' ), 'Table'[Store] = __id ) &lt;BR /&gt;CALCULATE ( sum ('Table'[sales] ), VALUES ('Table'[Store] ),'Table'[Store] = __id,'Table'[Date] = __date )&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Apr 2021 13:33:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/fillter-result-by-date-for-lastdate/m-p/1816842#M38464</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-04-30T13:33:19Z</dc:date>
    </item>
    <item>
      <title>Re: fillter result by date for lastdate</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/fillter-result-by-date-for-lastdate/m-p/1817539#M38493</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="148838" data-lia-user-login="amitchandak" class="lia-mention lia-mention-user"&gt;amitchandak&lt;/a&gt;&amp;nbsp;Thanks for supporting,&amp;nbsp;&lt;/P&gt;&lt;P&gt;i try the above measure but its fail as below :&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>Fri, 30 Apr 2021 21:55:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/fillter-result-by-date-for-lastdate/m-p/1817539#M38493</guid>
      <dc:creator>islam_zaki</dc:creator>
      <dc:date>2021-04-30T21:55:03Z</dc:date>
    </item>
  </channel>
</rss>

