This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
on 07-21-2016 08:01 PM - edited on 07-27-2021 11:38 PM by APIUserOpsDM
When bringing data into Alteryx a lot of users often add a select tool to check the data type and structure. Data types are very important because of the available operations/functions in tools can be adjusted to fit the data type being used!
For example, when using the basic filter tool string fields will be populated within string operators such as ‘equals’ or ‘contains’ whereas, a numeric field with have operators such as ‘>=’ or ‘isnull’.
How to check/change your data types?
Auto Field Tool
Select Tool
What happens when I bring my data into Alteryx?
Strings Data Types
Strings are anything that you want to keep as it is. A String is any combination of characters, alpha-numerics and symbols. You'llalso use a string type if the field is of mixed values that is has numbers in one cell and words in another.
Numeric Data Types
Numbers or numeric fields only contain numbers. BEWARE numeric field types and values with leading zeros (such as 01 - the zero would be dropped and the number would appear as just one). If you are dealing with Zip Codes, keep this in mind.
Date & Time Data Types
The Alteryx Date Time format is specific and may require you to do some data manipulation to get your data into the Alteryx format toutilize the datetime functions within a formula tool. The formats are:
Sometimes dates can be difficult to work with, so we have some great tools that you can use to get your date fields into the Alteryx format.
Date Time Macro
Boolean Data Type
Boolean is simply true or false and useful for flagging data.
Spatial Object Data Types
Spatial Objects are spatial objects like centroids and polygons used for mapping.
If you want any more information of data types please see our Alteryx Help
Hi Jordan,
Is there a way to match the datatypes of data parsed and formatted in Alteryx to those of the table it's going to be written to in SQL db?
Would be handy as I often change datatyes in sql as it quicker when having > 100 columns and so be good to match these dtypes to new data coming in
Thanks,
Izzy
Any ideas why the Email tool wouldn't work for some workflows? I am able to get it to work in a new workflow and another existing workflow (workflow A), but when adding the same info in an existing workflow (workflow B) it won't run. The workflow I am adding it to has a lot of other database pulls, but it doesn't make sense to me why it isn't working.
Side note: This workflow (workflow B) also won't let me schedule it. However, I am manually running it and it still won't send an email.
Does anyone have any suggestions on what to check out for the possible error?
Hi Jordan & esteemed Alteryx users,
How do the following Alteryx types: Double, Float and FixedDecimal map to Decimal, Numeric, Float and Double as defined in T-SQL ?
(background: Alteryx workflow where all operations are In-DB, the DB being on Microsoft SQL Server).
Thanks
Hi!
I have a column that has both numbers and letters, when I use the Int64 option all of the Values with Letters go away. If I use the V_String option, I then have to convert all my column using "convert to number" in excel. Is there a better way to do this??
Hi ruddikl,
This is not possible, as a single column would always be considered with a single datatype. otherwise, we can split the results into strings and integers by using the Filter tool and handle them separately with different outputs. then copy and paste into the excel would help you.
Hello,
I am new to Alteryx, quick hopefully simple question, I want add a formula if possible to add a date column plus the time column to create a new column. Is this possible? Please say yes 😕
Thanks!
Veronica Else
@VeronicaElse Hopefully you have already found a solution by now, but the answer to your question is indeed yes.
A date column (data type Date "YYYY-MM-DD") can be joined with a time column (data type Time "HH:MM:SS") in a datetime column (data type DateTime "YYYY-MM-DD HH:MM:SS") by simple concatenation as below.
[DateTime] = [Date] + " " + [Time]
This also works with string columns as long as they follow the format specified.