Forum Discussion
Aggro
3 years agoFrequent Visitor
DAX Month Format Function
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
- 3 years ago
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.