Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
RichJW
Helper III
Helper III

Concatenating Columns changes Date Format

Hi all,

 

I have a simple function concatenating 3 columns (2 are text, 1 is in date format).

 

ConcDate = Tasks[ProjectName] & " : " & Tasks[TaskName] & " : " & Tasks[TaskStartDate].[Date]
 
When the result of this is displayed in a Card visualisation, the date format changes from what I have it set as in Modelling from dd/mm/yy to mm/dd/yyyy. I guess this is because the new concatenated column is in text format, so my previously set date format (dd/mm/yy) is ignored.
 
Is there a method I can force the new concatenated column to use dd/mm/yy rather than what it wants me to use?
 
Many thanks,
Rich
1 ACCEPTED SOLUTION
themistoklis
Community Champion
Community Champion

@RichJW

 

You can use the format function for the concatenation:

 

ConcDate = Tasks[ProjectName] & " : " & Tasks[TaskName] & " : " & FORMAT(Tasks[TaskStartDate] ,"dd/mm/yyyy")

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I have  asimilar issue. My dates are showing fine as dd/mm/yyyy but when concatenating it gets a dash iso slash dd-mm-yyyy
Applying a format function as suggested above did not work.

anybody an idea?

themistoklis
Community Champion
Community Champion

@RichJW

 

You can use the format function for the concatenation:

 

ConcDate = Tasks[ProjectName] & " : " & Tasks[TaskName] & " : " & FORMAT(Tasks[TaskStartDate] ,"dd/mm/yyyy")

Wonderful, thank you @themistoklis. That works a dream.

Helpful resources

Announcements
April Power BI Update Carousel

Power BI Monthly Update - April 2026

Check out the April 2026 Power BI update to learn about new features.

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.