In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

After using ToString, formula tool won't recognize the field as a string

rileyspo42
6 - Meteoroid

I've seen this issue on a handful of workflows in the past, all the upstream tools show the Basis Date field as a V_WString but when attempting to perform a string function, the tool says it can't because the field is an integer. Anyone seen this before?

 

rileyspo42_0-1751314530008.pngrileyspo42_1-1751314584175.png

 

2 REPLIES 2
binu_acs
21 - Polaris

@rileyspo42 use Right function instead of TrimRight() function, 

In Alteryx, the TrimRight function removes specified characters from the end (right side) of a string. Its syntax is:

TrimRight(String, y)

  • String: The input string to be trimmed.
  • y: The character(s) to remove from the end of the string. If not specified, it defaults to removing whitespace.

 

binuacs_0-1751316167945.png

 

Yogesh1795
8 - Asteroid

@rileyspo42 you can use a select tool to change datatype of basic correct to v_string, or you can use Tostring function in formula tool  

Labels
Top Solution Authors