<?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: Time Slicer combined with a measure based on MAX date in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Slicer-combined-with-a-measure-based-on-MAX-date/m-p/3216764#M117454</link>
    <description>&lt;LI-CODE lang="markup"&gt;Then I added a slicer based on "between", thinking that the latest modification would be taken into account thanks to the MAX statement written in the measure.&lt;/LI-CODE&gt;
&lt;P&gt;How should your data model know that? Did you add the measure as a visual filter to the slicer?&lt;/P&gt;</description>
    <pubDate>Tue, 02 May 2023 23:52:23 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2023-05-02T23:52:23Z</dc:date>
    <item>
      <title>Time Slicer combined with a measure based on MAX date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Slicer-combined-with-a-measure-based-on-MAX-date/m-p/3214231#M117317</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I am trying to put a visual together where ony the turnover of the latest date per ID gets reported.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;To do this, I wrote the following measure:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Latest Test =&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;VAR _Summarize=&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SUMMARIZE(&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'Partition_Rank_SQL',&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'Partition_Rank_SQL'[DimOpportunityId],&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;'Partition_Rank_SQL'[ID_Row],&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"MININDEX", &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CALCULATE(&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;MAX(Partition_Rank_SQL[Last_Modified]),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ALLSELECTED('Partition_Rank_SQL'[DimOpportunityId])&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;"LATESTENTRIES",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;CALCULATE&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;(&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SUM(Partition_Rank_SQL[Turnover]),&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;FILTER('Partition_Rank_SQL','Partition_Rank_SQL'[Last_Modified]= MAX(Partition_Rank_SQL[Last_Modified]))&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;RETURN &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SUMX(_Summarize, [LATESTENTRIES])&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/EM&gt;Then I added a slicer based on "between", thinking that the latest modification would be taken into account thanks to the MAX statement written in the measure. The calendar table is directly linked to last modified as a column (date= last modified)&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But this still continues to give me all entries between the two dates...where is the problem in the statement?&lt;BR /&gt;&lt;BR /&gt;To be clear, in this example I should have only the value for the 17th of February. I should see the entry for the 14th only if I put the 14th, 15th or 16th of February as my upper limit in my slicer. The goal is to then&lt;U&gt; sum up the turnover of all the latest entries for every id&lt;/U&gt; according to the slicer.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Pauline.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 May 2023 19:10:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Slicer-combined-with-a-measure-based-on-MAX-date/m-p/3214231#M117317</guid>
      <dc:creator>Berl21</dc:creator>
      <dc:date>2023-05-01T19:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Time Slicer combined with a measure based on MAX date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Slicer-combined-with-a-measure-based-on-MAX-date/m-p/3216764#M117454</link>
      <description>&lt;LI-CODE lang="markup"&gt;Then I added a slicer based on "between", thinking that the latest modification would be taken into account thanks to the MAX statement written in the measure.&lt;/LI-CODE&gt;
&lt;P&gt;How should your data model know that? Did you add the measure as a visual filter to the slicer?&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2023 23:52:23 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Slicer-combined-with-a-measure-based-on-MAX-date/m-p/3216764#M117454</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-05-02T23:52:23Z</dc:date>
    </item>
    <item>
      <title>Re: Time Slicer combined with a measure based on MAX date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Slicer-combined-with-a-measure-based-on-MAX-date/m-p/3217487#M117499</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="100342" data-lia-user-login="lbendlin" class="lia-mention lia-mention-user"&gt;lbendlin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;in the slicer I use the date column from my calendar table. But "date" is connected to "last_modified" from the data table. This should not be an issue?&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 09:38:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Slicer-combined-with-a-measure-based-on-MAX-date/m-p/3217487#M117499</guid>
      <dc:creator>Berl21</dc:creator>
      <dc:date>2023-05-03T09:38:19Z</dc:date>
    </item>
    <item>
      <title>Re: Time Slicer combined with a measure based on MAX date</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Slicer-combined-with-a-measure-based-on-MAX-date/m-p/3217660#M117505</link>
      <description>&lt;P&gt;It likely is an issue as that constricts the filter context to existing fact dates. You may need to use a disconnected table for the slicer.&lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2023 11:12:10 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Time-Slicer-combined-with-a-measure-based-on-MAX-date/m-p/3217660#M117505</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2023-05-03T11:12:10Z</dc:date>
    </item>
  </channel>
</rss>

