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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
thibbos
Resolver I
Resolver I

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.