<?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: How do I get the last date (with date table) in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924297#M95988</link>
    <description>&lt;P&gt;This is how you get the latest date that's in the current context:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;[Latest Date] =
MAXX(
    SUMMARIZE(
        FactTable,
        DateDimension[Date]
    ),
    DateDimension[Date]
)

// or even simpler...

[Latest Date] = MAX( FactTable[Date] )

// where the Date field is the one
// that joins the fact table and
// the dim.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Nov 2022 11:21:30 GMT</pubDate>
    <dc:creator>daXtreme</dc:creator>
    <dc:date>2022-11-23T11:21:30Z</dc:date>
    <item>
      <title>How do I get the last date (with date table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924137#M95972</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to visualize the last date per categorie. When I do a Max(date[date[), it will show the last date of my date dable, that is somewhere in 2027. I need to know per categorie which day the last run was. Someone has any clue how to get to this point?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 10:25:14 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924137#M95972</guid>
      <dc:creator>JappieD</dc:creator>
      <dc:date>2022-11-23T10:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the last date (with date table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924156#M95973</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="476183" data-lia-user-login="JappieD" class="lia-mention lia-mention-user"&gt;JappieD&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can just summerize your Date column as Latest as shown below:-&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 10:28:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924156#M95973</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2022-11-23T10:28:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the last date (with date table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924180#M95976</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your comment. Tried that but it gives me the last value of my date table.&amp;nbsp;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 10:32:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924180#M95976</guid>
      <dc:creator>JappieD</dc:creator>
      <dc:date>2022-11-23T10:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the last date (with date table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924207#M95978</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="476183" data-lia-user-login="JappieD" class="lia-mention lia-mention-user"&gt;JappieD&lt;/a&gt;&amp;nbsp;Do you have relationship between date table and actual table?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 10:42:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924207#M95978</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2022-11-23T10:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the last date (with date table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924225#M95980</link>
      <description>&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312802" data-lia-user-login="Samarth_18" class="lia-mention lia-mention-user"&gt;Samarth_18&lt;/a&gt;&amp;nbsp;here a photo of the relationship.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 10:48:17 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924225#M95980</guid>
      <dc:creator>JappieD</dc:creator>
      <dc:date>2022-11-23T10:48:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the last date (with date table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924245#M95983</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="476183" data-lia-user-login="JappieD" class="lia-mention lia-mention-user"&gt;JappieD&lt;/a&gt;&amp;nbsp;So you are taking &lt;STRONG&gt;Categories&lt;/STRONG&gt; from the &lt;STRONG&gt;dmt_bhr DimSchema&lt;/STRONG&gt; and &lt;STRONG&gt;date&lt;/STRONG&gt; from &lt;STRONG&gt;the dmt_bhr DimDate(2)&lt;/STRONG&gt; right?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 10:55:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924245#M95983</guid>
      <dc:creator>Samarth_18</dc:creator>
      <dc:date>2022-11-23T10:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the last date (with date table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924254#M95984</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="312802" data-lia-user-login="Samarth_18" class="lia-mention lia-mention-user"&gt;Samarth_18&lt;/a&gt;&amp;nbsp;yes, that is correct. If i try it with 'pipeline run' from the fact table', it doesn't work either.&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Nov 2022 10:58:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924254#M95984</guid>
      <dc:creator>JappieD</dc:creator>
      <dc:date>2022-11-23T10:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the last date (with date table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924297#M95988</link>
      <description>&lt;P&gt;This is how you get the latest date that's in the current context:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;[Latest Date] =
MAXX(
    SUMMARIZE(
        FactTable,
        DateDimension[Date]
    ),
    DateDimension[Date]
)

// or even simpler...

[Latest Date] = MAX( FactTable[Date] )

// where the Date field is the one
// that joins the fact table and
// the dim.&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 11:21:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924297#M95988</guid>
      <dc:creator>daXtreme</dc:creator>
      <dc:date>2022-11-23T11:21:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I get the last date (with date table)</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924303#M95989</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="349489" data-lia-user-login="daXtreme" class="lia-mention lia-mention-user"&gt;daXtreme&lt;/a&gt;&amp;nbsp;It worked, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 23 Nov 2022 11:25:33 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/How-do-I-get-the-last-date-with-date-table/m-p/2924303#M95989</guid>
      <dc:creator>JappieD</dc:creator>
      <dc:date>2022-11-23T11:25:33Z</dc:date>
    </item>
  </channel>
</rss>

