Power BI DAX FORMAT Function
FORMAT function helps us display dates, numbers, currency values and percentages in the format we want. It is particularly useful when displaying dates, numbers, currency values, and percentages in a readable format in Power BI reports and dashboards.
Syntax:
FORMAT(Value, Format_String, [Locale_Name])Note:Value: The column or measure that we want to format.Format_String: The format we want to apply.Locale_Name: An optional parameter that specifies the language and regional formatting.
Note: FORMAT converts the result into text.
Basic example:
Formatted Order Date =FORMAT( FactInternetSales[OrderDate], "dd-MM-yyyy")
For example, a date of 30 October 2026 will be displayed as 30-10-2026
Date format table
| Format string | Example output | Description |
|---|---|---|
"d" | 10/30/2026 | Short date (locale-dependent) |
"dd" | 30 | Day with two digits |
"ddd" | Fri | Short weekday |
"dddd" | Friday | Full weekday |
"M" | 10 | Month number |
"MM" | 10 | Month with two digits |
"MMM" | Oct | Short month name |
"MMMM" | October | Full month name |
"yy" | 26 | Two-digit year |
"yyyy" | 2026 | Four-digit year |
"dd/MM/yyyy" | 30/10/2026 | Day/month/year |
"MM/dd/yyyy" | 10/30/2026 | Month/day/year |
"dd-MM-yyyy" | 30-10-2026 | Hyphen-separated date |
"yyyy-MM-dd" | 2026-10-30 | ISO-style date display |
"dd MMM yyyy" | 30 Oct 2026 | Readable date |
"dd MMMM yyyy" | 30 October 2026 | Full readable date |
"MMM yyyy" | Oct 2026 | Month and year |
"MMMM yyyy" | October 2026 | Full month and year |
"yyyy MMMM" | 2026 October | Year followed by month |
"dddd, dd MMMM yyyy" | Friday, 30 October 2026 | Complete date with weekday |
Note: Short date formats and localized names can vary according to the locale setting.
Example:
Formatted Order date =FORMAT( FactInternetSales[OrderDate], "MMM yyyy")

Time Formatting in DAX
DAX FORMAT – Time Format Strings
| Format String | Example Output | Description |
|---|---|---|
"h" | 2 | Hour, 12-hour clock |
"hh" | 02 | Hour with two digits |
"H" | 14 | Hour, 24-hour clock |
"HH" | 14 | Hour with two digits |
"m" | 5 | Minute |
"mm" | 05 | Minute with two digits |
"s" | 9 | Second |
"ss" | 09 | Second with two digits |
"h:mm" | 2:05 | Hour and minute |
"hh:mm" | 02:05 | Two-digit hour and minute |
"HH:mm" | 14:05 | 24-hour time |
"hh:mm:ss" | 02:05:09 | Time with seconds |
"hh:mm AM/PM" | 02:05 PM | 12-hour time with AM/PM |
"HH:mm:ss" | 14:05:09 | 24-hour time with seconds |
| Format string | Example output | Description |
|---|---|---|
"h" | 14 | Hour |
"hh" | 14 | Hour with leading zero |
"n" | 5 | Minute |
"nn" | 05 | Minute with leading zero |
"s" | 9 | Second |
"ss" | 09 | Second with leading zero |
"h:nn" | 14:05 | Hour and minute |
"hh:nn:ss" | 14:05:09 | Hour, minute and second |
"h:nn AM/PM" | 2:05 PM | 12-hour display |
"hh:nn:ss AMPM" | 02:05:09 PM | 12-hour display with seconds |
Number Formatting in DAX
The FORMAT function supports different number formats, including integers, decimal numbers, percentages and scientific notation.
Complete number format table
| Format string | Example input | Output |
|---|---|---|
"0" | 1250.75 | 1251 |
"0.0" | 1250.75 | 1250.8 |
"0.00" | 1250.75 | 1250.75 |
"#,##0" | 1250000 | 1,250,000 |
"#,##0.00" | 1250000.5 | 1,250,000.50 |
"#,##0.000" | 1250.5 | 1,250.500 |
"00000" | 125 | 00125 |
"#,##0.##" | 1250.5 | 1,250.5 |
"0%" | 0.25 | 25% |
"0.00%" | 0.2567 | 25.67% |
"0.0E+00" | 12500 | 1.3E+04 |
"General Number" | 1250.75 | 1250.75 |
"Standard" | 1250.75 | 1,250.75 |
"Fixed" | 1250.75 | 1250.75 |
"Scientific" | 12500 | 1.25E+04 |
Example:
Sales With Decimal =FORMAT( [Total Sales], "#,##0.00")
Currency Formatting in DAX
FORMAT can display values with currency symbols.
Complete currency format table
| Format string | Example input | Example output |
|---|---|---|
"$#,##0" | 1250000 | $1,250,000 |
"$#,##0.00" | 1250000.5 | $1,250,000.50 |
"₹#,##0" | 1250000 | ₹1,250,000 |
"₹#,##,##0" | 1250000 | ₹12,50,000 |
"₹#,##,##0.00" | 1250000.5 | ₹12,50,000.00 |
"€#,##0.00" | 1250000.5 | €1,250,000.50 |
"£#,##0.00" | 1250000.5 | £1,250,000.50 |
Example:
Sales USD =FORMAT( [Total Sales], "$#,##0.00")
Common locale codes
| Locale | Region | Example |
|---|---|---|
"en-US" | United States | 12/30/2026 |
"en-GB" | United Kingdom | 30/12/2026 |
"en-IN" | India | Indian regional conventions |
"de-DE" | Germany | 30.12.2026 |
"fr-FR" | France | 30/12/2026 |
"ja-JP" | Japan | Japanese regional conventions |
"es-ES" | Spain | Spanish regional conventions |