I'm trying to use a calculated field for an action tracker. I'm looking to have a field say how long it took to complete an action or if it's incomplete. Here's the code I scraped together:
CASE
WHEN (IsDate([@field:Root_Cause_Identification_Date])=1)
THEN Datediff(day,[@field:Trigger_Date],[@field:Root_Cause_Identification_Date])
ELSE 'Not Complete'
END
I keep getting the following error: Conversion failed when converting the varchar value 'Not Complete' to data type int.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
bradmanning
I'm trying to use a calculated field for an action tracker. I'm looking to have a field say how long it took to complete an action or if it's incomplete. Here's the code I scraped together:
I keep getting the following error: Conversion failed when converting the varchar value 'Not Complete' to data type int.
Anyone have any recommendations?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.