Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi,
I have Date table with Column in MMM format (Jan / Feb etc).
I could not sort the month by Date Order. Help me if possible.
Solved! Go to Solution.
Hi,
Please try these:
T_Month = FORMAT('Table'[Date],"MMM")
MonthNo = FORMAT('Table'[Date],"MM")
Then you can sort [T_Month] by [MonthNo].
Best Regards,
Giotto
Column and Sort column should have the same granularity. So the only sort column you can use is
Sort Month = format(Date[date],"MM")
Hi
I have added a New Column as below :
Hi,
Please try these:
T_Month = FORMAT('Table'[Date],"MMM")
MonthNo = FORMAT('Table'[Date],"MM")
Then you can sort [T_Month] by [MonthNo].
Best Regards,
Giotto
Thanks for your quick support and clarification.
My Learning :
To sort Month in MMM format. I need a column in MM format.
Similarly
To sort Month in MMM-YY format. I need a column in YYYYMM format.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
97 | |
85 | |
67 | |
59 |
User | Count |
---|---|
150 | |
120 | |
100 | |
87 | |
68 |