<?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: Can I sort matrix visual based off a specific column? in Developer</title>
    <link>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4202868#M56744</link>
    <description>&lt;P&gt;I showed that in my measure, with ISINSCOPE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_0-1727734736022.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1176022i61FF7E79C97F81D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_0-1727734736022.png" alt="lbendlin_0-1727734736022.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Sep 2024 22:19:31 GMT</pubDate>
    <dc:creator>lbendlin</dc:creator>
    <dc:date>2024-09-30T22:19:31Z</dc:date>
    <item>
      <title>Can I sort matrix visual based off a specific column?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4185627#M55889</link>
      <description>&lt;P&gt;Let's say I have table like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Country&lt;/TD&gt;&lt;TD&gt;C1&lt;/TD&gt;&lt;TD&gt;C2&lt;/TD&gt;&lt;TD&gt;C3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;P1&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;P2&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;P3&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Product is the rows in the matrix, Country is in the columns and Sales is the measure in the values.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to sort let's say sort by Sales ascending in country C2, so I would get something like this:&amp;nbsp;&lt;/P&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Country&lt;/TD&gt;&lt;TD&gt;C1&lt;/TD&gt;&lt;TD&gt;C2&lt;/TD&gt;&lt;TD&gt;C3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;Product&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;TD&gt;Sales&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;P3&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;TD&gt;0&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;P2&lt;/TD&gt;&lt;TD&gt;30&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;60&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;P1&lt;/TD&gt;&lt;TD&gt;10&lt;/TD&gt;&lt;TD&gt;20&lt;/TD&gt;&lt;TD&gt;50&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to do it by specific column like this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 22:47:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4185627#M55889</guid>
      <dc:creator>afaro</dc:creator>
      <dc:date>2024-09-27T22:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Can I sort matrix visual based off a specific column?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4185736#M55892</link>
      <description>&lt;P&gt;Yes, change the column total to only include C2.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;Measure = if(ISINSCOPE('Table'[Country]),sum('Table'[Sales]),CALCULATE(sum('Table'[Sales]),'Table'[Country]="C2"))&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sort by the column total.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_0-1727479606769.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1174917i25ECA8919D3A8519/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_0-1727479606769.png" alt="lbendlin_0-1727479606769.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hide the column total.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_1-1727479625088.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1174918i08C72227F545BF7C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_1-1727479625088.png" alt="lbendlin_1-1727479625088.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 23:31:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4185736#M55892</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-27T23:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can I sort matrix visual based off a specific column?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4185754#M55893</link>
      <description>&lt;P&gt;I want to have the option to change by any country whenever I want instead of keeping static just for C2. So, if I want to do by C1 and C3, then end user should be able to do that.&amp;nbsp;&lt;BR /&gt;To add, I don't want to create a measure where I remove the columns from matrix and explicitly add the country in the measure for example CALCULATE([Sales], Country = "C2") and so on. This is a solution but not something I am looking for since I prefer having to keep the columns.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 23:27:32 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4185754#M55893</guid>
      <dc:creator>afaro</dc:creator>
      <dc:date>2024-09-27T23:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can I sort matrix visual based off a specific column?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4185770#M55894</link>
      <description>&lt;P&gt;Sure, have a disconnected slicer for the country selection and in the measure read the current slicer value.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 23:36:55 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4185770#M55894</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-27T23:36:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can I sort matrix visual based off a specific column?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4202651#M56739</link>
      <description>&lt;P&gt;The measure is no longer able to read slicer value using SELECTEDVALUE if it is disconnected.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 20:14:09 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4202651#M56739</guid>
      <dc:creator>afaro</dc:creator>
      <dc:date>2024-09-30T20:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: Can I sort matrix visual based off a specific column?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4202680#M56741</link>
      <description>&lt;P&gt;please elaborate?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 20:21:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4202680#M56741</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-30T20:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Can I sort matrix visual based off a specific column?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4202750#M56743</link>
      <description>&lt;P&gt;How did you change the column total to only include C2? I do not get that point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I tried to do was create a new measure just for sorting. This measure would calculate the value based on the value in the slicer and not the column value coming from the matrix. However, for this I had to disconnect the matrix from the slicer but when I did this, the new measure created for sorting no longer works since disconnection led to me not being able to read the value of the slicer using SELECTEDVALUE.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 21:04:53 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4202750#M56743</guid>
      <dc:creator>afaro</dc:creator>
      <dc:date>2024-09-30T21:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can I sort matrix visual based off a specific column?</title>
      <link>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4202868#M56744</link>
      <description>&lt;P&gt;I showed that in my measure, with ISINSCOPE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="lbendlin_0-1727734736022.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1176022i61FF7E79C97F81D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="lbendlin_0-1727734736022.png" alt="lbendlin_0-1727734736022.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Sep 2024 22:19:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Developer/Can-I-sort-matrix-visual-based-off-a-specific-column/m-p/4202868#M56744</guid>
      <dc:creator>lbendlin</dc:creator>
      <dc:date>2024-09-30T22:19:31Z</dc:date>
    </item>
  </channel>
</rss>

