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

Error: Cannot convert value 'Oct' of type Text to type Date.

I am creating calculated column from "datetame" type  column and want to show only names of month, but i'm getting this error: Cannot convert value 'Oct' of type Text to type Date. 

Calculated Column = FORMAT(PRXGetFinishedRequestsView[REQUESTCREATETIME],"mmm")

1 ACCEPTED SOLUTION
Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @giorgilomidze

 

Are you sure your REQUESTCREATETIME column is date time?  The error suggests it might be text already.

 

If it is text and only as values such as "OCT" then you can use the following calculation to convert

 

Calculated Column = FORMAT(DATEVALUE("1/" & PRXGetFinishedRequestsView[REQUESTCREATETIME]),"MMM")

To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

View solution in original post

3 REPLIES 3
Phil_Seamark
Microsoft Employee
Microsoft Employee

Hi @giorgilomidze

 

Are you sure your REQUESTCREATETIME column is date time?  The error suggests it might be text already.

 

If it is text and only as values such as "OCT" then you can use the following calculation to convert

 

Calculated Column = FORMAT(DATEVALUE("1/" & PRXGetFinishedRequestsView[REQUESTCREATETIME]),"MMM")

To learn more about DAX visit : aka.ms/practicalDAX

Proud to be a Datanaut!

I am not sure if you saw my original reply............

 

So i have a report user in Germany. the parameter value is coming over as "okt" instead of "oct".

 

I'm wondering whether or not your solution will work in this case!

are you ready for this? we are in the US and we have a customer accessing a report in Germany and the parmeter is coming across as "Okt" instead of "Oct".  Will this solution work?

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!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.