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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Birdjo
Resolver II
Resolver II

Cannont convert value " of Type text to type Date

Hello,


I am getting the followin error:
error.jpg

 

I don't what's the issue. The source columns for this calculated column has no errors and is in proper type.

1 ACCEPTED SOLUTION

Thank you very much, guys!

 

The types were OK.

I tried different formats yesterday, none worked. I resolved the issue by finding a null value in the dataset.
I asked the responsible employee to fix it and it worked.

View solution in original post

3 REPLIES 3
v-yulgu-msft
Employee
Employee

Hi @Birdjo,

 

There existing a date type column and time column in table 'Logs', right? After loading data into desktop, the time column will be converted to date/time automatically. You can check this in Query Editor mode. Please first change its data type to "Time".

1.PNG2.PNG3.PNG

 

Then, you could use the CONCATENATE function to combine two columns. Remember to change the data type of [Entry datetime] from Text to Date/Time.

4.PNG

 

Best regards,

Yuliana Gu

Community Support Team _ Yuliana Gu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you very much, guys!

 

The types were OK.

I tried different formats yesterday, none worked. I resolved the issue by finding a null value in the dataset.
I asked the responsible employee to fix it and it worked.

vega
Resolver III
Resolver III

I think you want to use the FORMAT DAX function to convert the date into a text. You can see more about it here.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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