Alteryx Designer Desktop Discussions

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

Data Type issue

Aakanksha_chandak
8 - Asteroid

In my workflow, the data types (VString, double, etc.) get changed whenever there's a new input or any other change in the flow, I want the type to remain fixed i.e., whatever has been set at the start of the flow should remain constant throughout the flow.

13 REPLIES 13
FrederikE
13 - Pulsar

Hey @Aakanksha_chandak,

 

You can pull in a select tool and change the data types to "xxx : Forced" - this locks the type, even if the input would be different.

caltang
17 - Castor
17 - Castor

You can also use Dynamic Select on the name, and use the functions to force the data type to be consistent. So if you get new fields, but if they share certain characteristics such as their names, then Alteryx can get the proper data type for you.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Aakanksha_chandak
8 - Asteroid

I already have select tool, do I use another next to the select tool?

 

caltang
17 - Castor
17 - Castor

Maybe you should provide us with some sample data and give us the scenario which you want to force a certain data type on a certain field..?

 

That will be more helpful, no?

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Aakanksha_chandak
8 - Asteroid

Screenshot 2023-10-17 143201.png

  

Screenshot 2023-10-17 143403.png These 2 images are from start and end of my workflow, there are so many more tools in flow.

caltang
17 - Castor
17 - Castor

Not an image, an export of your workflow…

 

To export a workflow go to: Options > Export Workflow. Kindly do NOT send a "Save As" copy.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Aakanksha_chandak
8 - Asteroid

sorry but the data is confidential.

caltang
17 - Castor
17 - Castor

Use sample data - random one… think out of the box. 

Then state your requirements on what you want to select and then give some examples of when the data type changes.

Calvin Tang
Alteryx ACE
https://www.linkedin.com/in/calvintangkw/
Aakanksha_chandak
8 - Asteroid

when you make all the fields in the column random blank, data type gets changed to bool, which was earlier VString, so I want the data type for column random to be VString irrespective of the column being blank or having data inside

Labels