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,
I want to sort my data by month over several years and end up with a chart showing "Jan 2017", , , and so on until "Jan 2020"
I created a column (MonthYear) with the format above and can sort the data if I do it for a 12 month period, but nothing longer.
Is there an easy way to do this?
Solved! Go to Solution.
Hi @wenners68,
By the solution from @bizbi, have you solved the problem?
If you need additional help, please share some data sample and expected output, so that we can help further investigate on it?
Best Regards,
Cherry
Hi @wenners68,
By the solution from @bizbi, have you solved the problem?
If you need additional help, please share some data sample and expected output, so that we can help further investigate on it?
Best Regards,
Cherry
Hi, yes and I have marked it as accepted.
1. Format the year column as a whole number [Year].
2. Format the month column in MM format using format function in a calculated column:
Month MM=FORMAT(MONTH('Table'[Date]),"00")
3. Next, concatenate both these columns to give the Order column:
Order=[Year] & [Month MM]
4. Use this column for sorting (format as whole number if necessary).
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 |
---|---|
104 | |
69 | |
48 | |
41 | |
34 |
User | Count |
---|---|
164 | |
112 | |
62 | |
54 | |
38 |