Hi
Is there a way to set all the fields as V_String ?
I will be using this in a batch Macro and the field names will change for each data set.
I know doing this will cause Alteryx to allocate more memory,but i am working on data comparison workflow and will need to compare the field.
When Alteryx is setting the field type automatically, field type is having mismatch causing the formula tool to through error.
Eg: In data set 1 Field "ABC" might be set as V_String,but in data set 2 Field "ABC" is being set as Double as the entire column is empty.I want both these fields to be set as V-String.and in each run this can change.So i want a dynamic option. Basically to set all the fields being passed to the Macro as V_string
Thanks
Nidhin
Solved! Go to Solution.
Thanks you both. Didn't knew it was this easy to do.
Thank you. This is a huge help and it ties perfectly with using the Auto Tool and Dynamic Select as discussed in this thread: Automatically Remove All Null Columns
Since the Auto Tool only evaluates string fields, it's nice to be able change all fields to string and then have it evaluate them all.
Isn't the expression/formula redundant here? Can we not just pass [_CurrentField_]?
Because the tick mark(Change output type to V_String) will convert the fields to type V_String.
What is the significance of ToString() here, if my understanding in not correct.
Thanks.
User | Count |
---|---|
17 | |
15 | |
15 | |
8 | |
6 |