<?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: Matrix - text fields summarization in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-text-fields-summarization/m-p/3407544#M128758</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="610569" data-lia-user-login="austinhammer" class="lia-mention lia-mention-user"&gt;austinhammer&lt;/a&gt;&amp;nbsp;So I would normally implement it as something like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RecentAction = 
    VAR __Table = 'SOS'
    VAR __MaxDate = MAXX(__Table, [Sample Date])
    VAR __ActionTable = FILTER(__Table, [Sample Date] = __MaxDate)
    VAR __Result = MAXX(__ActionTable, [Action])
RETURN
    __Result


RecentLab = 
    VAR __Table = 'SOS'
    VAR __MaxDate = MAXX(__Table, [Sample Date])
    VAR __ActionTable = FILTER(__Table, [Sample Date] = __MaxDate)
    VAR __Result = MAXX(__ActionTable, [Lab])
RETURN
    __Result&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 30 Aug 2023 20:41:20 GMT</pubDate>
    <dc:creator>Greg_Deckler</dc:creator>
    <dc:date>2023-08-30T20:41:20Z</dc:date>
    <item>
      <title>Matrix - text fields summarization</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-text-fields-summarization/m-p/3407118#M128744</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use a Matrix to display this data so that I can nest the columns.&amp;nbsp; I want to show the most recent Sample Date and the coresponding Action and Lab report number.&amp;nbsp; The Matrix summarizes these fields seperately.&amp;nbsp; How can I ensure the Action and Lab report number are coming from the same row as the Latest Sample Date?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 16:33:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-text-fields-summarization/m-p/3407118#M128744</guid>
      <dc:creator>austinhammer</dc:creator>
      <dc:date>2023-08-30T16:33:00Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix - text fields summarization</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-text-fields-summarization/m-p/3407183#M128745</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="610569" data-lia-user-login="austinhammer" class="lia-mention lia-mention-user"&gt;austinhammer&lt;/a&gt;&amp;nbsp;So this is a double lookup. Watch the end of this video for the technique.&lt;/P&gt;
&lt;P&gt;&lt;div data-video-id="https://youtu.be/Jf3kcp50F28" data-video-remote-vid="https://youtu.be/Jf3kcp50F28" class="lia-video-container lia-media-is-center lia-media-size-medium"&gt;&lt;iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FJf3kcp50F28%3Ffeature%3Doembed&amp;amp;display_name=YouTube&amp;amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DJf3kcp50F28&amp;amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FJf3kcp50F28%2Fhqdefault.jpg&amp;amp;type=text%2Fhtml&amp;amp;schema=youtube" allowfullscreen="" style="max-width: 100%"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 17:00:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-text-fields-summarization/m-p/3407183#M128745</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-08-30T17:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix - text fields summarization</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-text-fields-summarization/m-p/3407238#M128747</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="313" data-lia-user-login="Greg_Deckler" class="lia-mention lia-mention-user"&gt;Greg_Deckler&lt;/a&gt; &amp;nbsp;- great video!&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;I'm struggling with how to aggregate the text value for use in the matrix.&amp;nbsp; What do you recommend?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;RecentAction = 
    VAR __Table = 'SOS'
    VAR __MaxDate = MAXX(__Table, [Sample Date])
    VAR __ActionTable = FILTER(__Table, [Sample Date] = __MaxDate)
    VAR __Result = SELECTCOLUMNS(__ActionTable, [Action])
RETURN
    __Result&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Aug 2023 17:38:52 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-text-fields-summarization/m-p/3407238#M128747</guid>
      <dc:creator>austinhammer</dc:creator>
      <dc:date>2023-08-30T17:38:52Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix - text fields summarization</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-text-fields-summarization/m-p/3407544#M128758</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="610569" data-lia-user-login="austinhammer" class="lia-mention lia-mention-user"&gt;austinhammer&lt;/a&gt;&amp;nbsp;So I would normally implement it as something like this:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;RecentAction = 
    VAR __Table = 'SOS'
    VAR __MaxDate = MAXX(__Table, [Sample Date])
    VAR __ActionTable = FILTER(__Table, [Sample Date] = __MaxDate)
    VAR __Result = MAXX(__ActionTable, [Action])
RETURN
    __Result


RecentLab = 
    VAR __Table = 'SOS'
    VAR __MaxDate = MAXX(__Table, [Sample Date])
    VAR __ActionTable = FILTER(__Table, [Sample Date] = __MaxDate)
    VAR __Result = MAXX(__ActionTable, [Lab])
RETURN
    __Result&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 30 Aug 2023 20:41:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-text-fields-summarization/m-p/3407544#M128758</guid>
      <dc:creator>Greg_Deckler</dc:creator>
      <dc:date>2023-08-30T20:41:20Z</dc:date>
    </item>
  </channel>
</rss>

