Forum Discussion
Upper case in the Calender Weekday name
- 1 year ago
Hi JayZee70 ,
Please try to update your DAX to look something like this:
Weekday Name = UPPER(LEFT(FORMAT(WEEKDAY('Calendar'[Date], 1), "DDDD"), 1)) & LOWER(MID(FORMAT(WEEKDAY('Calendar'[Date], 1), "DDDD"), 2, LEN(FORMAT(WEEKDAY('Calendar'[Date], 1), "DDDD")) - 1)) - 1 year ago
Hi JayZee70 ,
Understood, you can do this:
Month Name = UPPER(LEFT(FORMAT('Calendar'[Date], "MMMM"), 1)) & LOWER(MID(FORMAT('Calendar'[Date], "MMMM"), 2, LEN(FORMAT('Calendar'[Date], "MMMM")) - 1)) - 1 year ago
Hi JayZee70 ,
You got month name and month number column in your calendar like this:
Now select the month name column and go to Sort by Column and choose by Month No:
Hi JayZee70 ,
Understood, you can do this:
Month Name = UPPER(LEFT(FORMAT('Calendar'[Date], "MMMM"), 1)) & LOWER(MID(FORMAT('Calendar'[Date], "MMMM"), 2, LEN(FORMAT('Calendar'[Date], "MMMM")) - 1))
Thank you Geraldo!
It works great.
- JayZee701 year ago
Helper I
...now I am just having touble sort the axel in the chart so that it will show Jan-Dec.
Now it sorts in alphabetical order....
Of course, if I use my calender "Month" or my created Month it sorts correctly via the 3 dots in the upper right corner of the chart.
Any idea how to fix this?
- Bibiano_Geraldo1 year ago
Super User
Hi JayZee70 ,
You got month name and month number column in your calendar like this:
Now select the month name column and go to Sort by Column and choose by Month No:
- Bibiano_Geraldo1 year ago
Super User
You're welcome
- JayZee701 year ago
Helper I
Thanks again. Sometimes the easiest things can be hard to see.