Check your eligibility for this 50% exam voucher offer and join us for free live learning sessions to get prepared for Exam DP-700.
Get StartedDon't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.
Hi,
Thought this would be an easy one but can't find another post on this or a solution anywhere.
I have a Matrix Visual with Product on the rows, Year on the Columns and Sales in Values. See below:
It is sorted currently on Product ascending and I can change it to sort by Total Sales, which is standard.
However, there is no way I can see to sort by 2015, or 2016 and so on. So 2015 would be Product 1, Product 4, Product 2 and Product 3.
Is there a reason why this basic functionality isn't there, that I'm missing?
I can create measures that calculate the Sales in each of the years and use this as a Table visual but this isn't recommended with a larger data model.
Is there maybe even another custom visual out there that can do this?
Thanks,
Rob
Solved! Go to Solution.
Hi @robstewart89,
Currently it is not possible to meet your requirement in Power BI. There is an idea about that, you can vote it up.
Regards,
Frank
Hi, this blog post should provide a solution:
https://affinityworks.co.uk/power-bi-matrix-column-sort-sorted/
Hi, this solution worked for me! It allows sorting using RANKX function
https://alintelligence.tech/sort-matrix-by-selected-columns-with-rankx/
This worked for my situation...
In the upper rght hand corner of the Matrix vistal there an an icon for More options.
1. Click on the . . .
2. Select Sort by
3. Chose the column you want to sort by.
I hope this works for you.
Hi @robstewart89,
I have vote the idea. Could you please mark the answer as a solution to close the case please? Thanks in advance.
Regards,
Frank
I don't know any visual such a matrix capable to do it.
I don't know if it will be suitable for you but I got same tables displaying each month for a lot of references (products) and, when I need to focus on one period, I add a slicer to select it, then I sort on Total.
For me it is more tha a workaround because I really need to display only on part of the matrix.
Regards,
CR
Hi @robstewart89,
Currently it is not possible to meet your requirement in Power BI. There is an idea about that, you can vote it up.
Regards,
Frank
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.
User | Count |
---|---|
97 | |
65 | |
45 | |
39 | |
31 |
User | Count |
---|---|
164 | |
111 | |
61 | |
53 | |
38 |