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
agd50
Helper V
Helper V

Dynamic Month text - DAX

I want to show the text of a month ie January instead of the number. Here is what I have currently.

 

 

 

Title Page Sub Title text = 
 Var Year = INT ( YEAR ( TODAY () ) )
 Var Quarter = INT ( FORMAT(NOW (),
 "q" ) )
 Var Month = MONTH (TODAY () )

 Return
 
"1"&" "&Month-2 & " " & " " &"-"&" "&Month-3& "31" " " & Year

 

 

 


It shows 11 instead of November. How do I get it to show November instead? (Also an error message will appear due to the numbers next to month as I want to select the months)

TIA

1 ACCEPTED SOLUTION

3 REPLIES 3
ppm1
Solution Sage
Solution Sage

Please try this approach instead.

 

ThisMonth = FORMAT(TODAY(), "1 MMMM - \QQ yyyy")
 
Pat
Microsoft Employee

Love it, only issue is that it won't let me add -1 after the return so I can change the month.

try this

Screenshot_3.png

Screenshot_2.png

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!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.