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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
taralouise123
Helper I
Helper I

Want dates as text as there are inconsistent format

I have most dates which are formatted fine, such as "19/08/2021", but I have some which have multiple dates so I have added these in with a | delimiter, for example "03/08/2018 | 21/09/2020". 

 

This was initially in date format, but since I added in the multiple dates I changed it to text format as I am not using the dates as dates, just as text format in my Power BI dashboard. But, even though the column is text format, it is still bringing errors up for those dates with the pipe and saying that they aren't dates. "DataFormat.Error: We couldn't parse the input provided as a Date value."

 

Any idea how to get it not to bring up errors for these as I would like to keep them all in the same column?

 

Thanks

1 ACCEPTED SOLUTION
v-yalanwu-msft
Community Support
Community Support

Hi, @taralouise123 ;

Not sure if you understand what you mean correctly, as I understand it, I have two columns that are both in Date format, and then I merged them to return the correct text format. as follows:

vyalanwumsft_0-1666860162949.png

The merge them.

vyalanwumsft_1-1666860199442.png

The final show:

vyalanwumsft_2-1666860213774.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-yalanwu-msft
Community Support
Community Support

Hi, @taralouise123 ;

Not sure if you understand what you mean correctly, as I understand it, I have two columns that are both in Date format, and then I merged them to return the correct text format. as follows:

vyalanwumsft_0-1666860162949.png

The merge them.

vyalanwumsft_1-1666860199442.png

The final show:

vyalanwumsft_2-1666860213774.png

If the above one can't help you get the desired result, please provide some sample data in your tables (exclude sensitive data) with Text format and your expected result with backend logic and special examples. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community
Best Regards,
Community Support Team _ Yalan Wu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

taralouise123
Helper I
Helper I

SOLVED- as tables were merged, I needed to change the data type to text in the tables before the merge. 

Helpful resources

Announcements
June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.