<?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: Sort each column in matrix independences other columns in DAX Commands and Tips</title>
    <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4736047#M181398</link>
    <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1282814" data-lia-user-login="Someone22" class="lia-mention lia-mention-user"&gt;Someone22&lt;/a&gt;&amp;nbsp; - the only way to acheive this would be to create a measure for each month, but then your matrix will not be dynamic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 1em; border: 3px solid #287EC7;"&gt;If I answered your question &lt;STRONG&gt; please mark my post as the solution&lt;/STRONG&gt;, it helps others with the same challenge find the answer!&lt;/P&gt;</description>
    <pubDate>Wed, 18 Jun 2025 13:22:26 GMT</pubDate>
    <dc:creator>mark_endicott</dc:creator>
    <dc:date>2025-06-18T13:22:26Z</dc:date>
    <item>
      <title>Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4735891#M181394</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please support me?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have a matrix in Power Bi, which is show the changes of materials.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently i have 6 months, July, August, September, October, November, December. The months are dynamic, every cases(date of update) includes 6 months, the intervall change in every next month, so in July the first month will be 2025.August and the last months will be 2026.January. Month is a date format.&lt;/P&gt;&lt;P&gt;&lt;img /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, what i would like to do: sort any column independent the others&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example:&lt;/P&gt;&lt;P&gt;I want to see the TOP increasing in "2025. szeptember" column independent the other columns, but i&amp;nbsp;can not sort any month column, only just the Total column. So, the result what i would like to see is, if i sort descending "2025. szeptember" column, in that column see the decreasing list from the biggest value to the lowest, but in the other column i just see the changes which are not sorted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example with values:&lt;/P&gt;&lt;P&gt;Material&amp;nbsp; 2025.július&amp;nbsp; &amp;nbsp;2025.augusztus&amp;nbsp; &amp;nbsp;2025.szeptember 2025.október 2025.november 2025.december&lt;/P&gt;&lt;P&gt;A&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;200&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;800&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;150&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;130&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;300&lt;/P&gt;&lt;P&gt;B&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; -50&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;-100&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;750&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 50&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;80&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 900&lt;/P&gt;&lt;P&gt;C&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;600&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;120&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;700&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 90&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;170&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;40&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that possible to do that? I&lt;SPAN&gt;t have to be dynamic, the intervall of month change in every next month.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 11:52:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4735891#M181394</guid>
      <dc:creator>Someone22</dc:creator>
      <dc:date>2025-06-18T11:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4736036#M181397</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1282814" data-lia-user-login="Someone22" class="lia-mention lia-mention-user"&gt;Someone22&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;In matrix, you cannot sort columns. But in table, you can. What you need to do....&lt;/P&gt;&lt;P&gt;1. Make 6 different measure. name like month 1, month 2&amp;nbsp; ......month 6.&lt;/P&gt;&lt;P&gt;2. the dax will be like&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;month1 = calculate(sum(table,value), table,month = month(today())+1)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;month1 = calculate(sum(table,value), table,month = month(today())+2)...........like this&lt;/P&gt;&lt;P&gt;the drawback will be the month name cannot be seen.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 13:14:57 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4736036#M181397</guid>
      <dc:creator>Rupak_bi</dc:creator>
      <dc:date>2025-06-18T13:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4736047#M181398</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1282814" data-lia-user-login="Someone22" class="lia-mention lia-mention-user"&gt;Someone22&lt;/a&gt;&amp;nbsp; - the only way to acheive this would be to create a measure for each month, but then your matrix will not be dynamic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="padding: 1em; border: 3px solid #287EC7;"&gt;If I answered your question &lt;STRONG&gt; please mark my post as the solution&lt;/STRONG&gt;, it helps others with the same challenge find the answer!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 13:22:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4736047#M181398</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2025-06-18T13:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4740168#M181540</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1282814" data-lia-user-login="Someone22" class="lia-mention lia-mention-user"&gt;Someone22&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you for reaching out to Microsoft Fabric Community.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343036" data-lia-user-login="mark_endicott" class="lia-mention lia-mention-user"&gt;mark_endicott&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="583487" data-lia-user-login="Rupak_bi" class="lia-mention lia-mention-user"&gt;Rupak_bi&lt;/a&gt;&amp;nbsp;for the prompt response.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to&amp;nbsp;check if the solution provided by the user resolved your issue?&amp;nbsp;or let us know if you need any further assistance.&lt;BR /&gt;If any response resolved your issue, please mark it as "Accept as solution" and click "Yes" if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 06:57:31 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4740168#M181540</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-06-23T06:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4740366#M181549</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="343036" data-lia-user-login="mark_endicott" class="lia-mention lia-mention-user"&gt;mark_endicott&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I tried it with measures and yes, it is not working in matrix, but i need matrix, so i will do it in separate matzrix.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 08:31:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4740366#M181549</guid>
      <dc:creator>Someone22</dc:creator>
      <dc:date>2025-06-23T08:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4740424#M181557</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="583487" data-lia-user-login="Rupak_bi" class="lia-mention lia-mention-user"&gt;Rupak_bi&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Sorry for the late answer, but i tried to do it in several ways because i already have a measure for the changes.&lt;/P&gt;&lt;P&gt;So if i create a measure for the months after that i have to create a measure of measures for the changes of between of two date of demands.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dax what i use for changes: i could not implement your dax to my dax &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Demand Change = 
VAR CurrentDate = MAX('YourTable'[Date])
VAR CurrentMonth = SELECTEDVALUE('YourTable'[Month])
VAR CurrentDemand = SUM('YourTable'[Demand])

VAR PrevDate =
    CALCULATE(
        MAX('YourTable'[Date]),
        FILTER(
            ALL('YourTable'),
            'YourTable'[Date] &amp;lt; CurrentDate &amp;amp;&amp;amp;
            'YourTable'[Month] = CurrentMonth
        )
    )

VAR PrevDemand =
    CALCULATE(
        SUM('YourTable'[Demand]),
        'YourTable'[Date] = PrevDate &amp;amp;&amp;amp;
        'YourTable'[Month] = CurrentMonth
    )

RETURN
    IF(ISBLANK(PrevDemand), BLANK(), CurrentDemand - PrevDemand)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe, you have any idea?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 09:06:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4740424#M181557</guid>
      <dc:creator>Someone22</dc:creator>
      <dc:date>2025-06-23T09:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4740535#M181563</link>
      <description>&lt;P&gt;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1282814" data-lia-user-login="Someone22" class="lia-mention lia-mention-user"&gt;Someone22&lt;/a&gt;&amp;nbsp;- thanks, if my suggestion has helped, please mark it as the solution.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 10:22:19 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4740535#M181563</guid>
      <dc:creator>mark_endicott</dc:creator>
      <dc:date>2025-06-23T10:22:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4740571#M181564</link>
      <description>&lt;P&gt;Hi &lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1282814" data-lia-user-login="Someone22" class="lia-mention lia-mention-user"&gt;Someone22&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Your ask was to sort individual columns and based on the sample data you shared, I have suggested. However now it looks like you are trying to get some differential. So please share sample data which represents the exact table schema you are working with and also share the desired output. Again , please note, individual columns sorting is not possible in matrix and you need to use a table visual.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 10:47:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4740571#M181564</guid>
      <dc:creator>Rupak_bi</dc:creator>
      <dc:date>2025-06-23T10:47:47Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4740844#M181573</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="583487" data-lia-user-login="Rupak_bi" class="lia-mention lia-mention-user"&gt;Rupak_bi&lt;/a&gt;&amp;nbsp;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am really sorry if i was missunderstanding. So, here in my database and steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Database: &lt;/STRONG&gt;&lt;/U&gt;it is dynamic, because the first month will be August and the last month will be 2026.January in July, and so on...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Date Material Material descr Customer Month Base unit Demand&lt;BR /&gt;2025.05.28 A AA Company1 2025.Július PC 212&lt;BR /&gt;2025.05.28 B BB Company2 2025.Július PC 545&lt;BR /&gt;2025.05.28 C CC Company3 2025.Július PC 1124&lt;BR /&gt;2025.05.28 A AA Company1 2025.Augusztus PC 1138&lt;BR /&gt;2025.05.28 B BB Company2 2025.Augusztus PC 1543&lt;BR /&gt;2025.05.28 C CC Company3 2025.Augusztus PC 897&lt;BR /&gt;2025.05.28 A AA Company1 2025.Szeptember PC 1601&lt;BR /&gt;2025.05.28 B BB Company2 2025.Szeptember PC 886&lt;BR /&gt;2025.05.28 C CC Company3 2025.Szeptember PC 1203&lt;BR /&gt;2025.05.28 A AA Company1 2025.Október PC 1067&lt;BR /&gt;2025.05.28 B BB Company2 2025.Október PC 978&lt;BR /&gt;2025.05.28 C CC Company3 2025.Október PC 1942&lt;BR /&gt;2025.05.28 A AA Company1 2025.November PC 1346&lt;BR /&gt;2025.05.28 B BB Company2 2025.November PC 920&lt;BR /&gt;2025.05.28 C CC Company3 2025.November PC 1094&lt;BR /&gt;2025.05.28 A AA Company1 2025.December PC 1671&lt;BR /&gt;2025.05.28 B BB Company2 2025.December PC 1925&lt;BR /&gt;2025.05.28 C CC Company3 2025.December PC 513&lt;BR /&gt;2025.06.03 A AA Company1 2025.Július PC 1489&lt;BR /&gt;2025.06.03 B BB Company2 2025.Július PC 1175&lt;BR /&gt;2025.06.03 C CC Company3 2025.Július PC 346&lt;BR /&gt;2025.06.03 A AA Company1 2025.Augusztus PC 117&lt;BR /&gt;2025.06.03 B BB Company2 2025.Augusztus PC 950&lt;BR /&gt;2025.06.03 C CC Company3 2025.Augusztus PC 1496&lt;BR /&gt;2025.06.03 A AA Company1 2025.Szeptember PC 389&lt;BR /&gt;2025.06.03 B BB Company2 2025.Szeptember PC 831&lt;BR /&gt;2025.06.03 C CC Company3 2025.Szeptember PC 189&lt;BR /&gt;2025.06.03 A AA Company1 2025.Október PC 1447&lt;BR /&gt;2025.06.03 B BB Company2 2025.Október PC 184&lt;BR /&gt;2025.06.03 C CC Company3 2025.Október PC 1052&lt;BR /&gt;2025.06.03 A AA Company1 2025.November PC 1511&lt;BR /&gt;2025.06.03 B BB Company2 2025.November PC 136&lt;BR /&gt;2025.06.03 C CC Company3 2025.November PC 1047&lt;BR /&gt;2025.06.03 A AA Company1 2025.December PC 684&lt;BR /&gt;2025.06.03 B BB Company2 2025.December PC 422&lt;BR /&gt;2025.06.03 C CC Company3 2025.December PC 653&lt;BR /&gt;2025.06.06 A AA Company1 2025.Július PC 990&lt;BR /&gt;2025.06.06 B BB Company2 2025.Július PC 1264&lt;BR /&gt;2025.06.06 C CC Company3 2025.Július PC 1123&lt;BR /&gt;2025.06.06 A AA Company1 2025.Augusztus PC 1425&lt;BR /&gt;2025.06.06 B BB Company2 2025.Augusztus PC 1153&lt;BR /&gt;2025.06.06 C CC Company3 2025.Augusztus PC 539&lt;BR /&gt;2025.06.06 A AA Company1 2025.Szeptember PC 1595&lt;BR /&gt;2025.06.06 B BB Company2 2025.Szeptember PC 1038&lt;BR /&gt;2025.06.06 C CC Company3 2025.Szeptember PC 1345&lt;BR /&gt;2025.06.06 A AA Company1 2025.Október PC 1327&lt;BR /&gt;2025.06.06 B BB Company2 2025.Október PC 911&lt;BR /&gt;2025.06.06 C CC Company3 2025.Október PC 684&lt;BR /&gt;2025.06.06 A AA Company1 2025.November PC 1827&lt;BR /&gt;2025.06.06 B BB Company2 2025.November PC 299&lt;BR /&gt;2025.06.06 C CC Company3 2025.November PC 234&lt;BR /&gt;2025.06.06 A AA Company1 2025.December PC 1205&lt;BR /&gt;2025.06.06 B BB Company2 2025.December PC 1130&lt;BR /&gt;2025.06.06 C CC Company3 2025.December PC 1492&lt;BR /&gt;2025.06.15 A AA Company1 2025.Július PC 571&lt;BR /&gt;2025.06.15 B BB Company2 2025.Július PC 1154&lt;BR /&gt;2025.06.15 C CC Company3 2025.Július PC 615&lt;BR /&gt;2025.06.15 A AA Company1 2025.Augusztus PC 857&lt;BR /&gt;2025.06.15 B BB Company2 2025.Augusztus PC 1078&lt;BR /&gt;2025.06.15 C CC Company3 2025.Augusztus PC 211&lt;BR /&gt;2025.06.15 A AA Company1 2025.Szeptember PC 1615&lt;BR /&gt;2025.06.15 B BB Company2 2025.Szeptember PC 1595&lt;BR /&gt;2025.06.15 C CC Company3 2025.Szeptember PC 1735&lt;BR /&gt;2025.06.15 A AA Company1 2025.Október PC 685&lt;BR /&gt;2025.06.15 B BB Company2 2025.Október PC 1889&lt;BR /&gt;2025.06.15 C CC Company3 2025.Október PC 1608&lt;BR /&gt;2025.06.15 A AA Company1 2025.November PC 466&lt;BR /&gt;2025.06.15 B BB Company2 2025.November PC 975&lt;BR /&gt;2025.06.15 C CC Company3 2025.November PC 1662&lt;BR /&gt;2025.06.15 A AA Company1 2025.December PC 363&lt;BR /&gt;2025.06.15 B BB Company2 2025.December PC 291&lt;BR /&gt;2025.06.15 C CC Company3 2025.December PC 1319&lt;BR /&gt;2025.06.23 A AA Company1 2025.Július PC 1163&lt;BR /&gt;2025.06.23 B BB Company2 2025.Július PC 1274&lt;BR /&gt;2025.06.23 C CC Company3 2025.Július PC 434&lt;BR /&gt;2025.06.23 A AA Company1 2025.Augusztus PC 1264&lt;BR /&gt;2025.06.23 B BB Company2 2025.Augusztus PC 1406&lt;BR /&gt;2025.06.23 C CC Company3 2025.Augusztus PC 1269&lt;BR /&gt;2025.06.23 A AA Company1 2025.Szeptember PC 571&lt;BR /&gt;2025.06.23 B BB Company2 2025.Szeptember PC 1415&lt;BR /&gt;2025.06.23 C CC Company3 2025.Szeptember PC 1152&lt;BR /&gt;2025.06.23 A AA Company1 2025.Október PC 1833&lt;BR /&gt;2025.06.23 B BB Company2 2025.Október PC 403&lt;BR /&gt;2025.06.23 C CC Company3 2025.Október PC 1135&lt;BR /&gt;2025.06.23 A AA Company1 2025.November PC 1106&lt;BR /&gt;2025.06.23 B BB Company2 2025.November PC 425&lt;BR /&gt;2025.06.23 C CC Company3 2025.November PC 442&lt;BR /&gt;2025.06.23 A AA Company1 2025.December PC 869&lt;BR /&gt;2025.06.23 B BB Company2 2025.December PC 900&lt;BR /&gt;2025.06.23 C CC Company3 2025.December PC 907&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;First:&lt;/U&gt;&lt;/STRONG&gt; i had to create a matrix where we can see the changes between the consecutive dates. So the row is the date, the column is the month and the value is the dax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The dax:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Demand Change = 
VAR CurrentDate = MAX('YourTable'[Date])
VAR CurrentMonth = SELECTEDVALUE('YourTable'[Month])
VAR CurrentDemand = SUM('YourTable'[Demand])

VAR PrevDate =
    CALCULATE(
        MAX('YourTable'[Date]),
        FILTER(
            ALL('YourTable'),
            'YourTable'[Date] &amp;lt; CurrentDate &amp;amp;&amp;amp;
            'YourTable'[Month] = CurrentMonth
        )
    )

VAR PrevDemand =
    CALCULATE(
        SUM('YourTable'[Demand]),
        'YourTable'[Date] = PrevDate &amp;amp;&amp;amp;
        'YourTable'[Month] = CurrentMonth
    )

RETURN
    IF(ISBLANK(PrevDemand), BLANK(), CurrentDemand - PrevDemand)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Second&lt;/STRONG&gt;&lt;/U&gt;: after that i had to create a matrix where we can see the changes based on the materials, where the changes of dax calculate the changes between the two latest date. So, the row is the materials, the columns is the month and the value is the new dax.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New dax: similar the above, only the CurrentDemand VAR the difference.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Demand Change_type = 
VAR CurrentDate = MAX('YourTable'[Date])
VAR CurrentMonth = SELECTEDVALUE('YourTable'[Month])

VAR Currentdemand = 
CALCULATE(
    SUM(SD1006_OoH[OoH]),
    SD1006_OoH[Date] = CurrentDate &amp;amp;&amp;amp;
    SD1006_OoH[Month] = CurrentMonth
)

VAR PrevDate =
    CALCULATE(
        MAX('YourTable'[Date]),
        FILTER(
            ALL('YourTable'),
            'YourTable'[Date] &amp;lt; CurrentDate &amp;amp;&amp;amp;
            'YourTable'[Month] = CurrentMonth
        )
    )

VAR PrevDemand =
    CALCULATE(
        SUM('YourTable'[Demand]),
        'YourTable'[Date] = PrevDate &amp;amp;&amp;amp;
        'YourTable'[Month] = CurrentMonth
    )

RETURN
    CurrentDemand - PrevDemand&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;&lt;STRONG&gt;Third:&lt;/STRONG&gt;&lt;/U&gt;&amp;nbsp;In the end, i would like to create a matrix or table where i can sort any column independence the others. I could create it in separate matrix, where i can give a visual filter which is a custom column include index where i can choose the exact number and i can sort that one column. It is dynamic.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;Future Month Index = 
VAR vToday = TODAY()
VAR vNextMonthStart = EOMONTH(vToday, 0) + 1
VAR vRowDate = SD1006_OoH[Month]

RETURN
IF(
    vRowDate &amp;gt;= vNextMonthStart,
    (YEAR(vRowDate) - YEAR(vNextMonthStart)) * 12 + MONTH(vRowDate) - MONTH(vNextMonthStart) + 1,
    BLANK()
)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is almost ok, but not the target what i want. In the third step if i sort one of them matrix, i can not see that demand change of materials in the other month. I need to filter the others.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, i need matrix or table where i sort the changes in any month column, paralell i see the changes of material in the other month. Why it is important? Because if we can see a really big increasing in the first step matrix in September, i can sort the Third step matrix/table and i can see that the increasing is one time or occur in other month(--&amp;gt; maybe system/report problem or the customer upload something wrong) or there is a same decreasing in the other month so it is not problem, just the customer moved it from other month to September.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope i can wrote it clear &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&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;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 12:59:29 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4740844#M181573</guid>
      <dc:creator>Someone22</dc:creator>
      <dc:date>2025-06-23T12:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4744679#M181669</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1282814" data-lia-user-login="Someone22" class="lia-mention lia-mention-user"&gt;Someone22&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for the detailed explanation. Power bi matrix visuals do not support column wise sorting i.e sorting individual value columns. So it is technically not possible to sort one column and keep all other months unsorted in a single matrix.&lt;/P&gt;
&lt;P&gt;After analysing your use case thoroughly, here is the best possible approach:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Use a Table visual instead of a matrix.&lt;/LI&gt;
&lt;LI&gt;You have already created a dynamic column like Future Month Index, this will correctly limits the data to the next 6 months from the current month, keep using it as a filter or slicer.&lt;/LI&gt;
&lt;LI&gt;And also you have implemented a measure that calculates Demand Change between the latest two dates for each material and month, that is what exactly needed here.&lt;/LI&gt;
&lt;LI&gt;In the Table visual add Material, Month and Demand Change.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;You can now sort by any month and still see the change values for that material in all months.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Accepting as solution&amp;nbsp;&lt;/STRONG&gt;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jun 2025 07:57:39 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4744679#M181669</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-06-26T07:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4749168#M181857</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1282814" data-lia-user-login="Someone22" class="lia-mention lia-mention-user"&gt;Someone22&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;As we haven’t heard back from you, we wanted to kindly follow up to check if the solution I have provided for the issue worked?&lt;BR /&gt;If my response addressed, please mark it as "&lt;STRONG&gt;Accept as solution"&amp;nbsp;&lt;/STRONG&gt;and give kudos if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 04:35:30 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4749168#M181857</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-07-01T04:35:30Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4749646#M181863</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="882907" data-lia-user-login="v-achippa" class="lia-mention lia-mention-user"&gt;v-achippa&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I am so sorry, but i did not have time to try it because of other urgent project in my company.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am not really understand, can you please show it via example?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jul 2025 11:27:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4749646#M181863</guid>
      <dc:creator>Someone22</dc:creator>
      <dc:date>2025-07-01T11:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4751760#M181938</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="1282814" data-lia-user-login="Someone22" class="lia-mention lia-mention-user"&gt;Someone22&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As discussed, it is not possible to sort individual columns in a Matrix visual. I have implemented your use case using a Table visual that meets all the requirements.&lt;/P&gt;
&lt;P&gt;I have attached a pbix file below, please take a look and let me know if you need any further assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If this post&amp;nbsp;helps, then please consider&lt;SPAN&gt;&amp;nbsp;&lt;STRONG&gt;Accepting as solution&amp;nbsp;&lt;/STRONG&gt;to help the other members find it more quickly,&amp;nbsp;don't forget to give a&amp;nbsp;&lt;STRONG&gt;"Kudos"&lt;/STRONG&gt;&amp;nbsp;– I’d truly appreciate it!&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;
&lt;P&gt;Anjan Kumar Chippa&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 06:43:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4751760#M181938</guid>
      <dc:creator>v-achippa</dc:creator>
      <dc:date>2025-07-03T06:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4751821#M181940</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="882907" data-lia-user-login="v-achippa" class="lia-mention lia-mention-user"&gt;v-achippa&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your answer and pbix file. I need some time to check and try it how can i use it efficiently with more than 5.000 different materials :).&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jul 2025 07:31:24 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4751821#M181940</guid>
      <dc:creator>Someone22</dc:creator>
      <dc:date>2025-07-03T07:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sort each column in matrix independences other columns</title>
      <link>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4754664#M182049</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="javascript:void(0)" data-lia-user-mentions="" data-lia-user-uid="882907" data-lia-user-login="v-achippa" class="lia-mention lia-mention-user"&gt;v-achippa&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could check it and it will be okay. It is show the same result what we want to see.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for your support! &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Jul 2025 06:45:07 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/DAX-Commands-and-Tips/Sort-each-column-in-matrix-independences-other-columns/m-p/4754664#M182049</guid>
      <dc:creator>Someone22</dc:creator>
      <dc:date>2025-07-07T06:45:07Z</dc:date>
    </item>
  </channel>
</rss>

