<?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 aggregation and filtering in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770462#M86233</link>
    <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;Source =&lt;BR /&gt;VAR SelectedDate =&lt;BR /&gt;MIN ( 'Calendar'[Date] )&lt;BR /&gt;VAR CurrentIDTable =&lt;BR /&gt;FILTER ( 'Table', 'Table'[segment date] &amp;gt; SelectedDate )&lt;BR /&gt;VAR FirstRecord =&lt;BR /&gt;TOPN ( 1, CurrentIDTable, 'Table'[segment date], ASC )&lt;BR /&gt;RETURN&lt;BR /&gt;MAXX ( FirstRecord, 'Table'[segment_name] )&lt;/P&gt;</description>
    <pubDate>Thu, 15 Sep 2022 12:48:00 GMT</pubDate>
    <dc:creator>tamerj1</dc:creator>
    <dc:date>2022-09-15T12:48:00Z</dc:date>
    <item>
      <title>Matrix aggregation and filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770045#M86198</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to group values in the matrix by Source and Destination columns.&amp;nbsp; How can I achive this? Thanks for any advice&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Previous Segment = Source&lt;/P&gt;&lt;P&gt;Currenct Segment = Destination&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;"Calendar table" is not connected with "Table"&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;img /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 10:27:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770045#M86198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-15T10:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix aggregation and filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770462#M86233</link>
      <description>&lt;P&gt;Anonymous&lt;/LI-USER&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please try&lt;/P&gt;
&lt;P&gt;Source =&lt;BR /&gt;VAR SelectedDate =&lt;BR /&gt;MIN ( 'Calendar'[Date] )&lt;BR /&gt;VAR CurrentIDTable =&lt;BR /&gt;FILTER ( 'Table', 'Table'[segment date] &amp;gt; SelectedDate )&lt;BR /&gt;VAR FirstRecord =&lt;BR /&gt;TOPN ( 1, CurrentIDTable, 'Table'[segment date], ASC )&lt;BR /&gt;RETURN&lt;BR /&gt;MAXX ( FirstRecord, 'Table'[segment_name] )&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 12:48:00 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770462#M86233</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-15T12:48:00Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix aggregation and filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770527#M86238</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks, this works but the problem is when I remove person_id from the table this happens ( it is grouping all the fields in the table) and I want to achive this on first screentshot in the first post&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 13:07:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770527#M86238</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-15T13:07:07Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix aggregation and filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770544#M86240</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the first screenshot, does each row represents on Id?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 13:12:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770544#M86240</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-15T13:12:22Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix aggregation and filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770578#M86243</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;No, this is grouped by source and destination and&amp;nbsp; Total Users = count(persona_id)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;this is not easy to implement because slicer can't affect on calculated table so I've created this two measures - source and destination. I am not sure how to show only these two measures on matrix/table&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 13:30:35 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770578#M86243</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-15T13:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix aggregation and filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770696#M86248</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Technically it is not possible as power bi does not support slicing by or grouping by measures. There must be a column. Actually it's not clear to me what does it mean to group by a measure if it has any meaning.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 13:53:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770696#M86248</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-15T13:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix aggregation and filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770726#M86250</link>
      <description>&lt;P&gt;yes, ok I should explain it better . I am not sure if this is technically achivable but according to date range on slicer I want to take first (soruce) and last (destination) segment_name for each persona_identifier and then group this by source and destination with count on persona_identifier&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;</description>
      <pubDate>Thu, 15 Sep 2022 14:02:40 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770726#M86250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-15T14:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix aggregation and filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770804#M86254</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;I can think of two possibilities. We have a good chance to do that by concatenation and a smaller chance by filter measure. Please share a sample data to work with and let me see if I can produce somthing.&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2022 14:22:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2770804#M86254</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-15T14:22:32Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix aggregation and filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2773006#M86397</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;sorry for late reply. here is a sample dataset&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:29:20 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2773006#M86397</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-16T09:29:20Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix aggregation and filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2773016#M86398</link>
      <description>&lt;P&gt;Anonymous&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't see any link?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 09:33:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2773016#M86398</guid>
      <dc:creator>tamerj1</dc:creator>
      <dc:date>2022-09-16T09:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Matrix aggregation and filtering</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2773029#M86399</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="317289" data-lia-user-login="tamerj1" class="lia-mention lia-mention-user"&gt;tamerj1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes, sorry. here is the link&amp;nbsp;&lt;A href="https://drive.google.com/file/d/1Bx18wxlMb-JFrtZIE-l-BU3OdCtdvkAg/view?usp=sharing" target="_blank" rel="noopener"&gt;https://drive.google.com/file/d/1Bx18wxlMb-JFrtZIE-l-BU3OdCtdvkAg/view?usp=sharing&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 11:07:34 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Matrix-aggregation-and-filtering/m-p/2773029#M86399</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-16T11:07:34Z</dc:date>
    </item>
  </channel>
</rss>

