Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not applicable

how to capitalize the months present in the time table?

Hello,
How to put a capital letter in the time table? I tested with the DAX Upper(Left) code but it doesn't work. Can you help me? Thanks. G.
Here is the original dax code:
ADDCOLUMNS(CALENDAR(DebDate,FinDate),
"Annee", FORMAT([Date],"YYYY"),
"Trimestre" , "T"&FORMAT([Date],"Q"),
"Numero du mois", MONTH([Date]),
"Mois", "M"&FORMAT([Date],"M"),
"Annee mois", FORMAT([Date],"YYYYMM"),
"Nom du mois", FORMAT([Date],"MMMM YY") ,
"Nom court du mois", FORMAT([Date],"MMM YY") ,
"Semaine" , "S" & FORMAT(WEEKNUM([Date],2),"00"),

Greg0ry_0-1719479363913.png

 

 

 

1 ACCEPTED SOLUTION

@Anonymous - then this must be in your Power BI settings somewhere. I would raise a Support ticket for this rather than asking on a DAX Forum. You can do that here: https://admin.powerplatform.microsoft.com/newsupportticket/powerbi 

 

I have supplied the answer in DAX so if you could accept it as the solution for others that would be great. 

View solution in original post

6 REPLIES 6
Anonymous
Not applicable

Hi @Anonymous ,

 

It's strange that you have mentioned using UPPER, but please try the following expression again:

ADDCOLUMNS(
    CALENDAR(DebDate, FinDate),
    "Annee", FORMAT([Date], "YYYY"),
    "Trimestre", "T" & FORMAT([Date], "Q"),
    "Numero du mois", MONTH([Date]),
    "Mois", "M" & FORMAT([Date], "M"),
    "Annee mois", FORMAT([Date], "YYYYMM"),
    "Nom du mois", UPPER(FORMAT([Date], "MMMM YY")),
    "Nom court du mois", UPPER(FORMAT([Date], "MMM YY")),
    "Semaine", "S" & FORMAT(WEEKNUM([Date], 2), "00")
)

 

Hope it helps!

 

Best regards,
Community Support Team_ Scott Chang

 

If this post helps then please consider Accept it as the solution to help the other members find it more quickly.

Anonymous
Not applicable

Thanks for this answer, but this doesn't work.

Greg0ry_0-1719575080318.pngGreg0ry_1-1719575108443.png

 

mark_endicott
Super User
Super User

@Anonymous - Adding this to your DAX should work:

 

"Month", FORMAT( [Date], "MMMM")

 

Screenshot shows it's working below:

mark_endicott_0-1719484585189.png

 

Please accept this as the solution if it works for you. 

 

Anonymous
Not applicable

Thanks for your feedback, but it doesn't work on my pc 😞

@Anonymous - then this must be in your Power BI settings somewhere. I would raise a Support ticket for this rather than asking on a DAX Forum. You can do that here: https://admin.powerplatform.microsoft.com/newsupportticket/powerbi 

 

I have supplied the answer in DAX so if you could accept it as the solution for others that would be great. 

Anonymous
Not applicable

Thanks for the advice!

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.