Live training: next batches coming soon. Join the waitlist:Waitlists open:Developer Training →Developer →Copilot Studio Training →Copilot Studio →

Power BI Convert Date to Text: DAX FORMAT, CONVERT and Power Query Date.ToText

If you’ve tried to convert a date to text in Power BI by just switching the column to Text, you’ve probably seen 04/29/2026 come back as 4/29/2026, or day and month swap places. The plain type change follows a locale, not the pattern you had in mind.

The fix is to spell the pattern out: FORMAT in DAX, or Date.ToText with a Format in Power Query.

In this tutorial, we’ll cover power bi convert date to text five ways: FORMAT columns, CONVERT, a text measure, Power Query Date.ToText (with yyyymmdd keys) and Change Type. Everything comes from my demo report, tested on 11/27/2026.

The Sample Order Dates We’ll Convert

My demo report loads SPGuides_Sales_2026.csv into a table called Sales: 60 orders with an OrderDate column of type Date. New to Power BI Desktop? Start with my Power BI tutorials.

To load it, select Home > Get data > Text/CSV, pick the file and select Load.

One detail matters later: my PC uses a day-month regional format, so Power Query previews show 12-01-2026 for January 12, 2026. The model culture is en-US.

Method 1: DAX Convert Date to Text With FORMAT (Recommended)

Use FORMAT when Power BI needs a fixed pattern, such as a yyyymmdd key matching a SQL Server warehouse or an Excel export. Here’s how to add the first calculated column:

  1. Select Table view on the left side of Power BI Desktop.
  2. Select the Sales table in the Data pane.
  3. On the ribbon, select Table tools > New column. The formula bar opens with Column =.
  4. Replace Column = with the formula below and press Enter.
  5. Check Column tools: Data type now reads Text.

Type this in the formula bar of the new column:

Order Date Text = FORMAT(Sales[OrderDate], "MM/DD/YYYY")
Power BI calculated column using FORMAT to convert OrderDate to MM/DD/YYYY text with data type Text

For the other five, select New column again and type one line per column:

Order Month Text = FORMAT(Sales[OrderDate], "mmm yyyy")
Order Date Key = FORMAT(Sales[OrderDate], "yyyymmdd")
Order Weekday = FORMAT(Sales[OrderDate], "dddd")
Order Date Long = FORMAT(Sales[OrderDate], "mmmm d, yyyy")
Order Quarter = "Q" & FORMAT(Sales[OrderDate], "q yyyy")

All six columns next to the original date:

Power BI table showing OrderDate converted to text with FORMAT codes for date, month, yyyymmdd key, weekday and quarter

Order SO-1001 (04/29/2026) becomes 04/29/2026, Apr 2026, 20260429, Wednesday, April 29, 2026 and Q2 2026.

How does this work?

FORMAT returns a string built from the codes: mm is the two-digit month, mmm the short name, mmmm the full name, dddd the weekday, q the quarter. Literal text like “Q” is joined with &.

Important: the / in a FORMAT pattern is the locale’s date separator, so a German (de-DE) locale can show 04.29.2026 instead. Use yyyymmdd when the text must look the same everywhere.

Method 2: DAX Convert Date to String With CONVERT

Same Sales table, same OrderDate column. CONVERT is the shortest way to get a date string in Power BI DAX, but you don’t choose the pattern. In Table view, select Table tools > New column and type:

Order Date CONVERT = CONVERT(Sales[OrderDate], STRING)
Power BI FORMAT MM/DD/YYYY text column next to CONVERT date to STRING without leading zeros

SO-1002 shows 05/07/2026 from FORMAT but 5/7/2026 from CONVERT. CONVERT follows the model’s culture (en-US here), not my PC’s format, so I only use it when M/D/YYYY is fine.

Method 3: Show a Date as Text in a Power BI Measure

In Power BI, a measure works when the date is calculated, like the latest order. It wraps the DAX MAX date in FORMAT and adds a label, the same & trick from concatenating text and numbers in Power BI. Select Home > New measure, replace the text in the formula bar and press Enter:

Last Order Text = "Last order: " & FORMAT(MAX(Sales[OrderDate]), "mmmm d, yyyy")
Power BI measure Last Order Text using FORMAT and MAX showing Last order: September 9, 2026

The visual reads Last order: September 9, 2026. It’s text, so keep it to cards, titles and tables.

Method 4: Power Query Convert Date to Text yyyymmdd With Date.ToText

Same order dates, now in Power Query, before the data reaches the Power BI model. Select Transform data, pick the Sales query, then Add Column > Custom Column. Name it Order Date Key PQ and type this in the Custom column formula box:

Date.ToText([OrderDate], [Format="yyyyMMdd"])
Power Query Custom Column dialog with Date.ToText and Format yyyyMMdd to convert a date to text

Select OK. Power Query writes this step in its formula bar (the #”Added Custom6″ name is my previous step; yours will differ):

Table.AddColumn(#"Added Custom6", "Order Date Key PQ", each Date.ToText([OrderDate], [Format="yyyyMMdd"]))

The new column shows 20260112, 20260118, 20260121 and so on:

Power Query column Order Date Key PQ showing dates converted to yyyyMMdd text

How does this work?

Date.ToText takes the date and an options record. Format uses .NET codes, so capital MM is the month and lowercase mm means minutes. That’s the opposite of DAX, where mm is the month.

The new column’s type icon is ABC123 (Any). Select it and choose Text. To go the other way, see how to convert yyyymmdd to a date in Power BI.

Add Culture to lock month names to US English. Use Add Column > Custom Column again, name it Order Date US Text and type:

Date.ToText([OrderDate], [Format="MMMM d, yyyy", Culture="en-US"])

The step in the formula bar then reads:

Table.AddColumn(#"Added Custom7", "Order Date US Text", each Date.ToText([OrderDate], [Format="MMMM d, yyyy", Culture="en-US"]))
Power Query Date.ToText with Format MMMM d, yyyy and Culture en-US returning January 12, 2026

That returns January 12, 2026, January 18, 2026 and February 2, 2026.

Method 5: Change the Power Query Data Type to Text

The click-only way: select OrderDate, choose Add Column > Duplicate Column, then on the Home tab open Data Type: Date and pick Text.

Power Query Data Type Date dropdown with Text selected for the OrderDate copy column

Power Query writes this step in the formula bar above the preview (select the Changed Type step to see or edit it):

Table.TransformColumnTypes(#"Duplicated Column",{{"OrderDate - Copy", type text}})
Power Query Change Type to text returning 1/12/2026 in M/d/yyyy format from the file locale

So here’s the catch: the preview showed 12-01-2026, yet the text came out 1/12/2026. In Power BI Desktop, a plain type change uses the file’s locale (en-US), so use Date.ToText for a fixed result.

Which Way to Convert a Date to Text in Power BI Should You Pick?

MethodBest forOutput control
DAX FORMATLabels, keys, month/quarter textFull
DAX CONVERTQuick string, M/D/YYYY is OKNone
FORMAT in a measureDynamic dates in cards and titlesFull
Date.ToTextText ready before the model loadsFull + culture
Change Type > TextOne-off, any pattern is OKLocale decides

In my Power BI projects, I default to FORMAT in DAX and Date.ToText when the column belongs in Power Query. The same idea works for numbers: see how to convert a number to text in Power BI.

What to Watch for When Power BI Dates Become Text

  • Text sorts alphabetically: Apr 2026 lands before Jan 2026. Keep the real date (slicers and time axes need it) and use Sort by column, as in sorting a Power BI table by date.
  • Blank dates: Power BI’s FORMAT returns an empty string for a blank date, not BLANK.
  • DirectQuery: FORMAT and CONVERT aren’t supported in DirectQuery calculated columns, so convert in Power Query or a measure.

If you’re cleaning up more data types in Power BI, these help next:

Power BI Date to Text: Common Questions

How do I convert a date to text in DAX?

Create a calculated column with FORMAT, for example FORMAT(Sales[OrderDate], “MM/DD/YYYY”). The result has the Text data type.

How do I convert a date to string in DAX without FORMAT?

Use CONVERT(Sales[OrderDate], STRING). It follows the model culture, so in en-US you get 5/7/2026 with no leading zeros.

How do I convert a date to text yyyymmdd in Power Query?

Add a custom column with Date.ToText([OrderDate], [Format=”yyyyMMdd”]). Use capital MM for the month; lowercase mm means minutes.

What does Date.ToText do in Power Query?

It returns a date as text, with an optional Format and Culture. See the Date.ToText function reference for every option.