<?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 to summarize a table bringing only the last date of duplicate records. in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-summarize-a-table-bringing-only-the-last-date-of/m-p/3481522#M133123</link>
    <description>&lt;P&gt;This is just I need, thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 17 Oct 2023 15:58:09 GMT</pubDate>
    <dc:creator>mapr</dc:creator>
    <dc:date>2023-10-17T15:58:09Z</dc:date>
    <item>
      <title>DAX to summarize a table bringing only the last date of duplicate records.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-summarize-a-table-bringing-only-the-last-date-of/m-p/829311#M5942</link>
      <description>&lt;P&gt;Hi, I have "TABLE 1" where I have duplicate records, the issue is that while summarizing for getting unique records, as someone missepelled the name, I am getting two records for a single ID, as in case of ID 8 on my "Current Result" Table, this is incorrect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The ideal would be to have something like the "DESIRED RESULT" table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to used DAX as I do not have access to the data source for doing this from the Query.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DAX I am currently using, which is not working is:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;RESULT = 
SUMMARIZE(
    'TABLE1',
    'TABLE1'[ID],
    'TABLE1'[NAME]
)&lt;/PRE&gt;</description>
      <pubDate>Sun, 27 Oct 2019 09:01:11 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-summarize-a-table-bringing-only-the-last-date-of/m-p/829311#M5942</guid>
      <dc:creator>Oscar_Mtz_V</dc:creator>
      <dc:date>2019-10-27T09:01:11Z</dc:date>
    </item>
    <item>
      <title>Re: DAX to summarize a table bringing only the last date of duplicate records.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-summarize-a-table-bringing-only-the-last-date-of/m-p/829525#M5956</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="63535" data-lia-user-login="Oscar_Mtz_V" class="lia-mention lia-mention-user"&gt;Oscar_Mtz_V&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try following&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;RESULT =
FILTER (
    'TABLE1',
    'TABLE1'[DATE]
        = CALCULATE (
            MAX ( 'TABLE1'[DATE] ),
            ALLEXCEPT ( TABLE1, 'TABLE1'[NAME], 'TABLE1'[ID] )
        )
)
&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Oct 2019 04:20:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-summarize-a-table-bringing-only-the-last-date-of/m-p/829525#M5956</guid>
      <dc:creator>Zubair_Muhammad</dc:creator>
      <dc:date>2019-10-28T04:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: DAX to summarize a table bringing only the last date of duplicate records.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-summarize-a-table-bringing-only-the-last-date-of/m-p/831359#M6010</link>
      <description>&lt;P&gt;Thanks &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="42973" data-lia-user-login="Zubair_Muhammad" class="lia-mention lia-mention-user"&gt;Zubair_Muhammad&lt;/a&gt;&amp;nbsp;, although your DAX proposal was not 100% of what I needed it guide me through to get the right result, DAX can be found below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RESULT =
FILTER (
    'TABLE1',
    'TABLE1'[DATE]
        = CALCULATE (
            MAX ( 'TABLE1'[DATE] ),
            ALLEXCEPT ( TABLE1, 'TABLE1'[ID] )
        )
)&lt;/LI-CODE&gt;&lt;P&gt;This was because the "ID" is the column that contained all the right ID's, no typos.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Oct 2019 14:07:45 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-summarize-a-table-bringing-only-the-last-date-of/m-p/831359#M6010</guid>
      <dc:creator>Oscar_Mtz_V</dc:creator>
      <dc:date>2019-10-29T14:07:45Z</dc:date>
    </item>
    <item>
      <title>Re: DAX to summarize a table bringing only the last date of duplicate records.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-summarize-a-table-bringing-only-the-last-date-of/m-p/916288#M8887</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;&lt;P&gt;I believe i have the same issue, but i got this message...&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My measure is:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Result = &lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;FILTER (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Main Calendar',&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;'Main Calendar'[Date]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;= CALCULATE (&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;MAX ('Main Calendar'[Date]),&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;ALLEXCEPT ( 'Main Costs', 'Main Costs'[Department], 'Main Costs'[Item], 'Main Costs'[Item Name], 'Main Costs'[Family], 'Main Costs'[Sub-Family], 'Main Costs'[Qty], 'Main Costs'[Un Price],'Main Costs'[NetValue],'Main Costs'[VatRt], 'Main Costs'[GrossTotal] )&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 09:51:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-summarize-a-table-bringing-only-the-last-date-of/m-p/916288#M8887</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-01-30T09:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: DAX to summarize a table bringing only the last date of duplicate records.</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-summarize-a-table-bringing-only-the-last-date-of/m-p/3481522#M133123</link>
      <description>&lt;P&gt;This is just I need, thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Oct 2023 15:58:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/DAX-to-summarize-a-table-bringing-only-the-last-date-of/m-p/3481522#M133123</guid>
      <dc:creator>mapr</dc:creator>
      <dc:date>2023-10-17T15:58:09Z</dc:date>
    </item>
  </channel>
</rss>

