March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
Hi All,
I have one matrix visual. That matrix column have Month_Year_Format column from calender table in below snip.
But, here that column is showing descending order. I need to change in ascending order.
It is possible?
Please help me.
Thanks in Advance.
Solved! Go to Solution.
Hi @Prakash1050
You need to sort the column of month year by its numeric value from the data view:
The logic of the year_month_code is year&month (just concatenate it and make it whole number data type)
P.S
If the sorting is currently in reverse order, it's highly likely that it’s being sorted based on a similar logic, but multiplied by negative one, which causes the order to go from largest to smallest. So, the column for sorting might already exist.
My pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
To resolve the issue of the Month_Year_Format not showing in the correct order in your Power BI Matrix visual, follow these steps:1. Ensure Proper Sorting of Month_Year_Format Column:
The Month_Year_Format column might be sorting alphabetically (e.g., April before January) instead of by chronological order.
Add a Month Index: In your calendar table, ensure you have a column that represents the month in numerical format or the year-month index. For example:
Sort Month_Year_Format by this new column:
To resolve the issue of the Month_Year_Format not showing in the correct order in your Power BI Matrix visual, follow these steps:1. Ensure Proper Sorting of Month_Year_Format Column:
The Month_Year_Format column might be sorting alphabetically (e.g., April before January) instead of by chronological order.
Add a Month Index: In your calendar table, ensure you have a column that represents the month in numerical format or the year-month index. For example:
Sort Month_Year_Format by this new column:
Hi @Prakash1050
You need to sort the column of month year by its numeric value from the data view:
The logic of the year_month_code is year&month (just concatenate it and make it whole number data type)
P.S
If the sorting is currently in reverse order, it's highly likely that it’s being sorted based on a similar logic, but multiplied by negative one, which causes the order to go from largest to smallest. So, the column for sorting might already exist.
My pbix is attached
If this post helps, then please consider Accepting it as the solution to help the other members find it more quickly
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
124 | |
82 | |
69 | |
53 | |
44 |
User | Count |
---|---|
202 | |
106 | |
100 | |
64 | |
56 |