Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
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
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.
| User | Count |
|---|---|
| 58 | |
| 45 | |
| 31 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 73 | |
| 63 | |
| 44 | |
| 23 | |
| 22 |