<?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: DAX Measure to filter dynamically on latest date not working in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-filter-dynamically-on-latest-date-not-working/m-p/2370512#M60811</link>
    <description>&lt;P&gt;Thanks for your answer but this is not helping. The latest date stored in the variable is working fine.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Mar 2022 15:48:21 GMT</pubDate>
    <dc:creator>LillyLegenda</dc:creator>
    <dc:date>2022-03-02T15:48:21Z</dc:date>
    <item>
      <title>DAX Measure to filter dynamically on latest date not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-filter-dynamically-on-latest-date-not-working/m-p/2370139#M60789</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to show the following timeline chart next to a chart which is showing the largest partners, but only of the latest month..&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;As you can hopefully see: In 3-2022 the value is 0.6M but the largest partner has 2.6M.&lt;/P&gt;&lt;P&gt;Here is the DAX I am using for the Partner Chart:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Measure 1 Latest = &lt;BR /&gt;VAR Latest = [Max Import Date]    //MAX(Report[ImportDate])&lt;BR /&gt;Return CALCULATE(&lt;BR /&gt;'Key Measures'[Measure 1],&lt;BR /&gt;FILTER(&lt;BR /&gt;Report,&lt;BR /&gt;Report[ImportDate] = Latest&lt;BR /&gt;)&lt;BR /&gt;)&lt;/PRE&gt;&lt;DIV&gt;It seems like it is working for the sum but not if I add the Partner.&lt;/DIV&gt;&lt;DIV&gt;&lt;img /&gt;&lt;P&gt;I would like to be able to click on a Partner and see timeline changing for all months. Is this possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;Do you have an idea what is wrong with my code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 13:29:13 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-filter-dynamically-on-latest-date-not-working/m-p/2370139#M60789</guid>
      <dc:creator>LillyLegenda</dc:creator>
      <dc:date>2022-03-02T13:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Measure to filter dynamically on latest date not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-filter-dynamically-on-latest-date-not-working/m-p/2370312#M60798</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="278200" data-lia-user-login="LillyLegenda" class="lia-mention lia-mention-user"&gt;LillyLegenda&lt;/a&gt; , try like&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Measure 1 Latest = &lt;BR /&gt;VAR Latest = MAXX(allselected(Report), Report[ImportDate])&lt;BR /&gt;Return CALCULATE(&lt;BR /&gt;'Key Measures'[Measure 1],&lt;BR /&gt;FILTER(&lt;BR /&gt;Report,&lt;BR /&gt;Report[ImportDate] = Latest&lt;BR /&gt;)&lt;BR /&gt;)&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 14:36:44 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-filter-dynamically-on-latest-date-not-working/m-p/2370312#M60798</guid>
      <dc:creator>amitchandak</dc:creator>
      <dc:date>2022-03-02T14:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Measure to filter dynamically on latest date not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-filter-dynamically-on-latest-date-not-working/m-p/2370512#M60811</link>
      <description>&lt;P&gt;Thanks for your answer but this is not helping. The latest date stored in the variable is working fine.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 15:48:21 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-filter-dynamically-on-latest-date-not-working/m-p/2370512#M60811</guid>
      <dc:creator>LillyLegenda</dc:creator>
      <dc:date>2022-03-02T15:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: DAX Measure to filter dynamically on latest date not working</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-filter-dynamically-on-latest-date-not-working/m-p/2377902#M61345</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="278200" data-lia-user-login="LillyLegenda" class="lia-mention lia-mention-user"&gt;LillyLegenda&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How is Measure 1 calculated? The calculation of Measure 1 may cause this problem.&lt;/P&gt;
&lt;P&gt;Could you share a sample pbix after deleting sensitive data so that we can check&amp;nbsp; the problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Liang&lt;BR /&gt;If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.&lt;/P&gt;</description>
      <pubDate>Mon, 07 Mar 2022 06:53:02 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-Measure-to-filter-dynamically-on-latest-date-not-working/m-p/2377902#M61345</guid>
      <dc:creator>V-lianl-msft</dc:creator>
      <dc:date>2022-03-07T06:53:02Z</dc:date>
    </item>
  </channel>
</rss>

