The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi I am usinga a Matrix where in i have year and month name in my columns.Could someone please suggest a way to display the month name in descending order (i.e september,august,july,june,etc.)
Solved! Go to Solution.
You can create a MonthNum column with following formula. Then select the Month column and make it sorted by MonthNum column.
MonthNum = - MONTH ( Table1[Date] )
Best Regards,
Herbert
You can create a MonthNum column with following formula. Then select the Month column and make it sorted by MonthNum column.
MonthNum = - MONTH ( Table1[Date] )
Best Regards,
Herbert
In my last screenshot of matrix report, the Month names are in descending order like Sep, Aug, July, June in 2016.
What is your expected result?
Best Regards,
Herbert
Within Query Editor, you can create a conditional column and assign a numeric value to the column based on months. In Power BI, in the Data View, you can use the 'Sort by Column' feature to sort the month column based on values of the (conditional) column you created in Query Editor.
Thanks
Kaz
Hi There,
Please follow this blog post for more information.
It is Straight Forward and Requires little tricks.
https://community.powerbi.com/t5/Desktop/Sorting-by-Month-as-Text-Jan-Feb-Mar-etc/td-p/9237\
Thanks & Regards,
Bhavesh
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
111 | |
79 | |
71 | |
48 | |
41 |
User | Count |
---|---|
138 | |
108 | |
71 | |
64 | |
58 |