Forum Discussion

JayZee70's avatar
JayZee70
Helper I
1 year ago
Solved

Upper case in the Calender Weekday name

Hello!   I have a small issue with my Weekday Name column. I want the first letter to be an upper case. What do I do? This could perhaps be some issue in Microsft settings, but does anyone know ...
  • Bibiano_Geraldo's avatar
    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))
    
  • Bibiano_Geraldo's avatar
    Bibiano_Geraldo
    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))
    
  • Bibiano_Geraldo's avatar
    Bibiano_Geraldo
    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: