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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
sunjin122
Helper I
Helper I

Changing Data Type problem

I load the data from SQL Sever by using Direct Query. The data type of Date column is Text, so I am trying to change the Text format to Date format, by going to Modeling tab and select the data column from the Fields pane, since this cannot be done in Edit Query due to the Direct Query mode. But it didn't work well.  Can someboday help me with this problem? Thank you!

Capture3.PNGCapture2.PNG

1 ACCEPTED SOLUTION
jahida
Impactful Individual
Impactful Individual

Basically that's saying that the column you're trying to convert to Date isn't all (valid) dates... Can't help without seeing your data but check for some weird/garbage values and try to filter them out.

View solution in original post

6 REPLIES 6
jahida
Impactful Individual
Impactful Individual

Basically that's saying that the column you're trying to convert to Date isn't all (valid) dates... Can't help without seeing your data but check for some weird/garbage values and try to filter them out.

@jahida

Yes. But it always should be possible to set type to Text, right? But sometimes Text type selection is greyed out - don't know why ...

Thank you for your advice! It works!

Hi,

Could you please let me know of the solution to this issue.

 

Regards,

Srinivas

@asriniva33 I found out  there is an invalid value in the column. So I deleted it and then everything works

@sunjin122

 

Thanks for the information.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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