<?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: Help with measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure/m-p/1862859#M39919</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="303857" data-lia-user-login="serapinasnovian" class="lia-mention lia-mention-user"&gt;serapinasnovian&lt;/a&gt; , seems fine at first look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this small variation&lt;/P&gt;
&lt;P&gt;VAR maxdate =&lt;BR /&gt;CALCULATE ( MAX ( 'Fact'[Date] ), filter('Fact','Fact'[type] = "KASA" ))&lt;BR /&gt;VAR result =&lt;BR /&gt;CALCULATE ([Amount],&lt;BR /&gt;FILTERS ( 'Fact', 'Fact'[type] = "KASA" ),&lt;BR /&gt;FILTERS ( Date, Date[Date] = maxdate ))&lt;BR /&gt;RETURN&lt;BR /&gt;result&lt;/P&gt;</description>
    <pubDate>Tue, 25 May 2021 14:19:30 GMT</pubDate>
    <dc:creator>amitchandak</dc:creator>
    <dc:date>2021-05-25T14:19:30Z</dc:date>
    <item>
      <title>Help with measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure/m-p/1862033#M39897</link>
      <description>&lt;P&gt;Hello, can someone help me with measure. Why is it so slow?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;VAR maxdate =&lt;BR /&gt;CALCULATE ( MAX ( 'Fact'[Date] ), 'Fact'[type] = "KASA" )&lt;BR /&gt;VAR result =&lt;BR /&gt;CALCULATE ([Amount],&lt;BR /&gt;KEEPFILTERS ( 'Fact'[type] = "KASA" ),&lt;BR /&gt;KEEPFILTERS ( Date[Date] = maxdate ))&lt;BR /&gt;RETURN&lt;BR /&gt;result&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 08:47:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure/m-p/1862033#M39897</guid>
      <dc:creator>serapinasnovian</dc:creator>
      <dc:date>2021-05-25T08:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Help with measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure/m-p/1862859#M39919</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="303857" data-lia-user-login="serapinasnovian" class="lia-mention lia-mention-user"&gt;serapinasnovian&lt;/a&gt; , seems fine at first look.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try this small variation&lt;/P&gt;
&lt;P&gt;VAR maxdate =&lt;BR /&gt;CALCULATE ( MAX ( 'Fact'[Date] ), filter('Fact','Fact'[type] = "KASA" ))&lt;BR /&gt;VAR result =&lt;BR /&gt;CALCULATE ([Amount],&lt;BR /&gt;FILTERS ( 'Fact', 'Fact'[type] = "KASA" ),&lt;BR /&gt;FILTERS ( Date, Date[Date] = maxdate ))&lt;BR /&gt;RETURN&lt;BR /&gt;result&lt;/P&gt;</description>
      <pubDate>Tue, 25 May 2021 14:19:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Help-with-measure/m-p/1862859#M39919</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2021-05-25T14:19:30Z</dc:date>
    </item>
  </channel>
</rss>

