Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Hi
I want to format the month with two digits by using the FORMAT function, but the result wasn't expected.
DAX: FORMAT ( 1 , "MM")
Result: 12
The result I expected should be 01
Solved! Go to Solution.
You have to put in a [Date] instead of 1. Example:
=FORMAT(DATEVALUE("30.11.2023");"MM")
You will get 11 for the month-Number.
You have to put in a [Date] instead of 1. Example:
=FORMAT(DATEVALUE("30.11.2023");"MM")
You will get 11 for the month-Number.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
12 | |
11 | |
10 | |
9 | |
8 |