<?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 order a matrix in Report Server</title>
    <link>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4703172#M40792</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I'm working on Power BI Report Server and I'm experiencing an issue when using a matrix visual.&lt;BR /&gt;I would like to sort my matrix in ascending or descending order, but it doesn’t seem to work.&lt;/P&gt;&lt;P&gt;Here is the structure of my matrix:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;In the &lt;STRONG&gt;rows&lt;/STRONG&gt;, I have &lt;STRONG&gt;clients&lt;/STRONG&gt; (from a dimension table),&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the &lt;STRONG&gt;columns&lt;/STRONG&gt;, I have a field called &lt;STRONG&gt;year_month (ex january 2025)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;And in the &lt;STRONG&gt;values&lt;/STRONG&gt;, I have a &lt;STRONG&gt;measure&lt;/STRONG&gt; that calculates the &lt;STRONG&gt;revenue for the last 12 rolling months&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The issue is that I want to &lt;STRONG&gt;sort the columns representing the rolling months&lt;/STRONG&gt; in ascending or descending order (for example: January, February, March), but it's not working as expected.&lt;BR /&gt;How can I make this sorting work?&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;</description>
    <pubDate>Thu, 22 May 2025 09:13:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2025-05-22T09:13:03Z</dc:date>
    <item>
      <title>order a matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4703172#M40792</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I'm working on Power BI Report Server and I'm experiencing an issue when using a matrix visual.&lt;BR /&gt;I would like to sort my matrix in ascending or descending order, but it doesn’t seem to work.&lt;/P&gt;&lt;P&gt;Here is the structure of my matrix:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;In the &lt;STRONG&gt;rows&lt;/STRONG&gt;, I have &lt;STRONG&gt;clients&lt;/STRONG&gt; (from a dimension table),&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;In the &lt;STRONG&gt;columns&lt;/STRONG&gt;, I have a field called &lt;STRONG&gt;year_month (ex january 2025)&lt;/STRONG&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;And in the &lt;STRONG&gt;values&lt;/STRONG&gt;, I have a &lt;STRONG&gt;measure&lt;/STRONG&gt; that calculates the &lt;STRONG&gt;revenue for the last 12 rolling months&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The issue is that I want to &lt;STRONG&gt;sort the columns representing the rolling months&lt;/STRONG&gt; in ascending or descending order (for example: January, February, March), but it's not working as expected.&lt;BR /&gt;How can I make this sorting work?&lt;/P&gt;&lt;P&gt;Thank you in advance for your help.&lt;/P&gt;</description>
      <pubDate>Thu, 22 May 2025 09:13:03 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4703172#M40792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-22T09:13:03Z</dc:date>
    </item>
    <item>
      <title>Re: order a matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4704410#M40807</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;Thanks for reaching to Microsoft Fabric Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;To display and sort monthly rolling revenue in a matrix visual, we used a DateTable with a YearMonth column (e.g., "Jan 2024") and sorted it using a numeric YearMonthNum column (e.g., 202401). This ensured chronological sorting of columns.&lt;/LI&gt;
&lt;LI&gt;A DAX measure calculated the revenue over the last 12 months using DATESINPERIOD, allowing the matrix to show clients in rows and rolling months in columns with correct totals and order.&lt;BR /&gt;&lt;BR /&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I am sharing the sample data file for better understanding with expected output :&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.&lt;/P&gt;
&lt;P&gt;Thanks for using Microsoft Fabric Community Forum.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 04:32:26 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4704410#M40807</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-05-23T04:32:26Z</dc:date>
    </item>
    <item>
      <title>Re: order a matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4704689#M40813</link>
      <description>&lt;P&gt;Thanks, that's what I did, but how can I sort the revenue by client for January 2024? I'd like client B to appear on the first row, for example. Actually, I want to be able to sort the revenue by client for each column in my matrix (by month). Normally, it's not possible to do that, and I'm trying to find an alternative.&lt;/P&gt;</description>
      <pubDate>Fri, 23 May 2025 07:15:51 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4704689#M40813</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-05-23T07:15:51Z</dc:date>
    </item>
    <item>
      <title>Re: order a matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4706794#M40837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;for the above queries :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;To ensure that Client B appears in the first row of your matrix, you can create a custom sorting column in your data model. Here’s how you can do it:&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;img /&gt;&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;Yes,Power BI's Matrix visual does not natively support sorting rows on a per-column basis (i.e., sorting by month).&lt;/P&gt;
&lt;P style="margin: 0in; font-family: Calibri; font-size: 11.0pt;" lang="en-US"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin-top: 0pt; margin-bottom: 8pt; font-family: Aptos; font-size: 12.0pt;"&gt;If this post was helpful, please consider marking &lt;SPAN&gt;Accept as solution&lt;/SPAN&gt; to assist other members in finding it more easily.&lt;/P&gt;
&lt;P style="margin-top: 0pt; margin-bottom: 8pt; font-family: Aptos; font-size: 12.0pt;"&gt;If you continue to face issues, feel free to reach out to us for further assistance!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 06:27:47 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4706794#M40837</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-05-26T06:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: order a matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4712859#M40912</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;we haven't heard back from you regarding our last response and wanted to check if your issue has been resolved.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;If the response addressed by the community member for&amp;nbsp; your query, please mark it as&amp;nbsp;Accept Answer&amp;nbsp;and click&amp;nbsp;Yes&amp;nbsp;if you found it helpful.&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV id="bodyDisplay_1" class=""&gt;
&lt;DIV class=""&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank You.&lt;/P&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;
&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 May 2025 17:25:54 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4712859#M40912</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-05-29T17:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: order a matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4716212#M40937</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the information is helpful, please accept the answer by clicking the&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;"Upvote" and "Accept Answer"&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;on the post. If you are still facing any issue, please let us know in the comments. We are glad to help you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;We value your feedback, and it will help us to assist others who might have a similar query. Thank you for your contribution in enhancing Microsoft Fabric Community Forum.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 06:49:08 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4716212#M40937</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-06-02T06:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: order a matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4721886#M40994</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="263" data-end="402"&gt;Just checking in, We wanted to follow up on your question regarding sorting the matrix columns by rolling months in Power BI Report Server.&lt;/P&gt;
&lt;P data-start="404" data-end="604"&gt;If you’ve found a solution that worked, we’d appreciate it if you could &lt;STRONG data-start="476" data-end="511"&gt;mark the response as "Accepted"&lt;/STRONG&gt; and &lt;STRONG data-start="516" data-end="526"&gt;upvote&lt;/STRONG&gt; it. This helps other users with similar issues find the solution more easily.&lt;/P&gt;
&lt;P data-start="606" data-end="729"&gt;If you're still facing the issue or need further clarification, feel free to add a comment&amp;nbsp; we’re happy to assist further.&lt;/P&gt;
&lt;P data-start="731" data-end="848"&gt;Thanks again for being part of the Microsoft Fabric Community and helping make it a more valuable space for everyone!&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jun 2025 17:51:41 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4721886#M40994</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-06-05T17:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: order a matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4722831#M41008</link>
      <description>&lt;P&gt;Is there no other solution (a workaround) to sort the months in ascending/descending order?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 09:46:42 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4722831#M41008</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2025-06-06T09:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: order a matrix</title>
      <link>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4722988#M41010</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Anonymous&lt;/LI-USER&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;As a workaround, you can try using a Table visual instead of a Matrix. The Table visual allows flexible sorting by any column, including values like revenue or specific months ,which can help achieve the sorting behavior you're looking for.&lt;BR /&gt;&lt;BR /&gt;Hope this helps !&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P style="margin-top: 0pt; margin-bottom: 8pt; font-family: Aptos; font-size: 12.0pt;"&gt;If this post was helpful, please consider marking &lt;SPAN&gt;Accept as solution&lt;/SPAN&gt; to assist other members in finding it more easily.&lt;/P&gt;
&lt;P style="margin-top: 0pt; margin-bottom: 8pt; font-family: Aptos; font-size: 12.0pt;"&gt;If you continue to face issues, feel free to reach out to us for further assistance!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jun 2025 11:41:43 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Report-Server/order-a-matrix/m-p/4722988#M41010</guid>
      <dc:creator>v-aatheeque</dc:creator>
      <dc:date>2025-06-06T11:41:43Z</dc:date>
    </item>
  </channel>
</rss>

