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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Concatenate Alphabetically

I have two fields of type date and I need to concatenate them, but when I do this they stop being of type date and they happen to be type text, and when I try to convert through power bi is occurring error informing that it is not possible to convert, I tried Convert through the measure but without success, how can I solve this?

 

Column = IndicatorValue [StartDateTime] & "-" & IndicatorValue [EndDateTime]

5 REPLIES 5
Anonymous
Not applicable

@Anonymous,

This is expected behavior.  After you concatenate two date type fields, the values in the new column are like “2/3/2017-5/1/2017”, which are not valid Date format. Thus you are not able to convert the column form Text type to Date type.

 

Regards,
Lydia

Anonymous
Not applicable

@Anonymous

Any suggestions for turning this column into date?

Anonymous
Not applicable

@Anonymous,

It is not possible to convert value such as "2/3/2017-5/6/2017" from text type to Date type as the value is not a valid date value.

Why do you need to concatenate two Date type columns and convert the new column to Date type?

Regards,
Lydia

Anonymous
Not applicable

 

@Anonymous

I need because when I play a field of the date type on the filter object the filter does not work as expected 

hohlick
Continued Contributor
Continued Contributor

Hi @Anonymous

Can you add details about your problem with date filter? What tyope of date filter you used? What behavior you've expected and what went wrong?

Maxim Zelensky
excel-inside.pro

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors