<?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: Problem with measure in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-measure/m-p/2346348#M59366</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;;&lt;/P&gt;
&lt;P&gt;You could try it.&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;Summary Trade Volume =
CALCULATE (
    TableA[Summary Net QTY] / 1000,
    FILTER (
        'TableA',
        [Date] = CALCULATE ( MAX ( Calendar[FiscalYear], ALLSELECTED ( Calendar ) ) )
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;If not right, can you share a simple&amp;nbsp;Scenario to explain your specific requirements ? More information make it easier to give you a solution. Looking forward to your reply.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team_ Yalan Wu&lt;BR /&gt;If this post &lt;STRONG&gt;&lt;EM&gt;helps,&lt;/EM&gt; &lt;/STRONG&gt;then please consider&lt;STRONG&gt;&lt;EM&gt; Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2022 02:32:36 GMT</pubDate>
    <dc:creator>v-yalanwu-msft</dc:creator>
    <dc:date>2022-02-18T02:32:36Z</dc:date>
    <item>
      <title>Problem with measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-measure/m-p/2340283#M59044</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to create a meaurse were I am adding something and filter it to only show the max fiscal year but the filter isn't working. Any Idea what is going on ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Summary Trade Volume = &lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(TableA&lt;/SPAN&gt;&lt;SPAN&gt;[Summary Net QTY]&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;1000&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;FILTER&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;Calendar&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN&gt;MAX&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;[FiscalYear]&lt;/SPAN&gt;&lt;SPAN&gt;)))&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 15 Feb 2022 18:00:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-measure/m-p/2340283#M59044</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-02-15T18:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-measure/m-p/2340361#M59052</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Try this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Summary Trade Volume =&lt;BR /&gt;&lt;STRONG&gt;var maxyear = CALCULATE(MAX([FiscalYear]),ALL(Calendar)) return&lt;/STRONG&gt;&lt;BR /&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;CALCULATE&lt;/SPAN&gt;&lt;SPAN&gt;(TableA&lt;/SPAN&gt;&lt;SPAN&gt;[Summary Net QTY]&lt;/SPAN&gt;&lt;SPAN&gt;/&lt;/SPAN&gt;&lt;SPAN&gt;1000&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&lt;STRONG&gt;ALL(Calendar),&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG&gt;Calendar[FiscalYear]=maxyear)&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;I hope this post helps to solve your issue and if it does consider accepting it as a solution and giving the post a thumbs up!&lt;STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;My LinkedIn: &lt;A href="https://www.linkedin.com/in/n%C3%A4ttiahov-00001/" target="_blank"&gt;https://www.linkedin.com/in/n%C3%A4ttiahov-00001/&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 18:53:05 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-measure/m-p/2340361#M59052</guid>
      <dc:creator>ValtteriN</dc:creator>
      <dc:date>2022-02-15T18:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-measure/m-p/2346348#M59366</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;;&lt;/P&gt;
&lt;P&gt;You could try it.&lt;/P&gt;
&lt;LI-CODE lang="python"&gt;Summary Trade Volume =
CALCULATE (
    TableA[Summary Net QTY] / 1000,
    FILTER (
        'TableA',
        [Date] = CALCULATE ( MAX ( Calendar[FiscalYear], ALLSELECTED ( Calendar ) ) )
    )
)
&lt;/LI-CODE&gt;
&lt;P&gt;If not right, can you share a simple&amp;nbsp;Scenario to explain your specific requirements ? More information make it easier to give you a solution. Looking forward to your reply.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Community Support Team_ Yalan Wu&lt;BR /&gt;If this post &lt;STRONG&gt;&lt;EM&gt;helps,&lt;/EM&gt; &lt;/STRONG&gt;then please consider&lt;STRONG&gt;&lt;EM&gt; Accept it as the solution&lt;/EM&gt;&lt;/STRONG&gt; to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 02:32:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-measure/m-p/2346348#M59366</guid>
      <dc:creator>v-yalanwu-msft</dc:creator>
      <dc:date>2022-02-18T02:32:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with measure</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-measure/m-p/2354847#M59916</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;;&lt;/P&gt;
&lt;DIV&gt;Is your problem solved?? If so, Would you mind accept the helpful replies as solutions? Then we could close the thread. More people who have the same requirement will find the solution quickly and benefit here. Thank you.&lt;/DIV&gt;
&lt;DIV&gt;&lt;BR /&gt;
&lt;DIV&gt;Best Regards,&lt;/DIV&gt;
&lt;DIV&gt;Community Support Team_ Yalan Wu&lt;/DIV&gt;
If this post&lt;STRONG&gt;&lt;I&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;helps&lt;/I&gt;&lt;/STRONG&gt;, then please consider&lt;STRONG&gt;&lt;I&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Accept it as the solution&lt;/I&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;to help the other members find it more quickly.&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Feb 2022 05:16:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Problem-with-measure/m-p/2354847#M59916</guid>
      <dc:creator>v-yalanwu-msft</dc:creator>
      <dc:date>2022-02-23T05:16:35Z</dc:date>
    </item>
  </channel>
</rss>

