How to customize a data type for a column?

Creating custom data type




Custom data types are used to validate organization-specific data, such as employee ID, invoice ID, shipment tracking ID, or asset ID. By creating a custom data type, you can set a standard for your organization-specific columns in your data.

This allows you to measure the data quality for those columns like any other common data column and improves the data quality as a result.

You can create your own data type using the Create custom data type option in the Change data type transform.

To change the data type of a column

1.  Right-click the column name and select the Change data type  option from the context menu.



2.  Select Create custom data type  link from the side panel. 



3.  Provide a name for your custom data type in the Data type name & icon text box.
By default, an icon is created using the first two letters of the name to represent the new data type. You can customize this icon  by changing the letters and the color. 
4. Select the required option from the Base type drop-down.  
Notes The base type upon which a custom data type can be created are: Text, Number, Decimal, and Date.



5.  In the Conditions section, you can add conditions to define your data type with options to include match types and expressions.  

6.  To create a condition, select the match type and enter the value or an  expression. The different match types are:
  1. Wildcard
  2. String length comparators
  3. String length values


7. Select the  icon to add more conditions, if needed. 

8.  When adding multiple conditions,  the logical operators, AND or OR appear next to the conditions. You can click to toggle the logical operator between AND and OR.  
Using the logical operators, you can combine the conditions and apply logic to determine the rule of precedence. An expression of the condition order is displayed under the Criteria expression section. You can click Edit to alter the default expression using logical operators and parenthesis to specify the precedence or the sequential order as to which condition should be evaluated first. Click Save after making the required changes.
9. You can choose to Edit to alter the default expression using logical operators and parenthesis to specify the precedence or the sequential order as to which condition should be evaluated first. Click Save after making the required changes.

  

10.  Click the Create button and create the data type.

12. Select the Apply button to assign your custom data type to the selected column.

Examples 

Case 1: Match the asset ID pattern.  Macbook assets at Zykler & Co. are marked with an asset ID in the following format:

  ZYKLER-002981-MAC
  ZYKLER-002982-MAC
  ZYKLER-002983-MAC
  ZYKLER-002984-MAC

The pattern consists of the text 'ZYKLER' at the beginning, followed by an unique six-digit number and the text 'MAC' at the end. The data type "AssetID" can be created using the begins with and ends with conditions, and the AND operator to join the two conditions.

begins with:  ZYKLER
AND 
ends with: MAC 

Case 2: Match Employee ID pattern.  Zykler employees have their employee ID in the following format:

  jones-1234
  john-2211
  Bane-123456
  Michael-4233

To make sure the incoming data for the employee ID column follows this format, we can create a custom data type reflecting its pattern. The name in the first part starts with an upper or lower case character followed by a hyphen, then a unique number of 4-to-6 digits.

The pattern is matched using the regex:   " [a-zA-Z]*-[0-9]{4,6} ". 

With the regex option in DataPrep, you can create highly specific custom formats like these. 

SEE ALSO


      Create. Review. Publish.

      Write, edit, collaborate on, and publish documents to different content management platforms.

      Get Started Now


        Access your files securely from anywhere

          Zoho CRM Training Programs

          Learn how to use the best tools for sales force automation and better customer engagement from Zoho's implementation specialists.

          Zoho CRM Training
            Redefine the way you work
            with Zoho Workplace

              Zoho DataPrep Personalized Demo

              If you'd like a personalized walk-through of our data preparation tool, please request a demo and we'll be happy to show you how to get the best out of Zoho DataPrep.

              Zoho CRM Training

                Create, share, and deliver

                beautiful slides from anywhere.

                Get Started Now


                  Zoho Sign now offers specialized one-on-one training for both administrators and developers.

                  BOOK A SESSION







                              Quick LinksWorkflow AutomationData Collection
                              Web FormsEnterpriseOnline Data Collection Tool
                              Embeddable FormsBankingBegin Data Collection
                              Interactive FormsWorkplaceData Collection App
                              CRM FormsCustomer ServiceAccessible Forms
                              Digital FormsMarketingForms for Small Business
                              HTML FormsEducationForms for Enterprise
                              Contact FormsE-commerceForms for any business
                              Lead Generation FormsHealthcareForms for Startups
                              Wordpress FormsCustomer onboardingForms for Small Business
                              No Code FormsConstructionRSVP tool for holidays
                              Free FormsTravelFeatures for Order Forms
                              Prefill FormsNon-Profit

                              Intake FormsLegal
                              Mobile App
                              Form DesignerHR
                              Mobile Forms
                              Card FormsFoodOffline Forms
                              Assign FormsPhotographyMobile Forms Features
                              Translate FormsReal EstateKiosk in Mobile Forms
                              Electronic Forms
                              Drag & drop form builder

                              Notification Emails for FormsAlternativesSecurity & Compliance
                              Holiday FormsGoogle Forms alternative GDPR
                              Form to PDFJotform alternativeHIPAA Forms
                              Email FormsFormstack alternativeEncrypted Forms

                              Wufoo alternativeSecure Forms

                              TypeformWCAG

                                All-in-one knowledge management and training platform for your employees and customers.

                                            Create. Review. Publish.

                                            Write, edit, collaborate on, and publish documents to different content management platforms.

                                            Get Started Now




                                                              You are currently viewing the help pages of Qntrl’s earlier version. Click here to view our latest version—Qntrl 3.0's help articles.




                                                                  Manage your brands on social media


                                                                    • Desk Community Learning Series


                                                                    • Digest


                                                                    • Functions


                                                                    • Meetups


                                                                    • Kbase


                                                                    • Resources


                                                                    • Glossary


                                                                    • Desk Marketplace


                                                                    • MVP Corner


                                                                    • Word of the Day


                                                                    • Ask the Experts


                                                                      Zoho Sheet Resources

                                                                       

                                                                          Zoho Forms Resources


                                                                            Secure your business
                                                                            communication with Zoho Mail


                                                                            Mail on the move with
                                                                            Zoho Mail mobile application

                                                                              Stay on top of your schedule
                                                                              at all times


                                                                              Carry your calendar with you
                                                                              Anytime, anywhere




                                                                                    Zoho Sign Resources

                                                                                      Sign, Paperless!

                                                                                      Sign and send business documents on the go!

                                                                                      Get Started Now




                                                                                              Zoho TeamInbox Resources





                                                                                                        Zoho DataPrep Demo

                                                                                                        Get a personalized demo or POC

                                                                                                        REGISTER NOW


                                                                                                          Design. Discuss. Deliver.

                                                                                                          Create visually engaging stories with Zoho Show.

                                                                                                          Get Started Now








                                                                                                                              • Related Articles

                                                                                                                              • Custom data type

                                                                                                                                The Custom data type page lists all the custom data types created by the user across all the pipelines in DataPrep. You can view the data type name, the data type, base data type, and how many pipelines it is used in. You can also choose to edit, ...
                                                                                                                              • Export data to cloud storage services

                                                                                                                                You can export data to the following cloud storage services. Google Drive OneDrive Box Storage Dropbox Zoho WorkDrive Amazon S3 To export data to cloud storage services 1. Open an existing pipeline or create a pipeline from the Home Page, Pipelines ...
                                                                                                                              • Export data to SharePoint

                                                                                                                                Zoho DataPrep supports exporting data to SharePoint, a cloud storage service that allows users to store, organize, share, and access information from any device. To export data to SharePoint 1. Open an existing pipeline or create a pipeline from the ...
                                                                                                                              • Import data from Dropbox

                                                                                                                                Zoho DataPrep supports importing data from Dropbox, a file hosting service. Dropbox offers cloud storage, file synchronization, personal cloud, and client software. To import data from Dropbox 1. Open an existing pipeline or create a pipeline from ...
                                                                                                                              • Import data from SharePoint

                                                                                                                                Zoho DataPrep supports importing data from SharePoint, a cloud storage service that allows users to store, organize, share, and access information from any device. To import data from SharePoint 1. Open an existing pipeline or create a pipeline from ...
                                                                                                                                Wherever you are is as good as
                                                                                                                                your workplace

                                                                                                                                  Resources

                                                                                                                                  Videos

                                                                                                                                  Watch comprehensive videos on features and other important topics that will help you master Zoho CRM.



                                                                                                                                  eBooks

                                                                                                                                  Download free eBooks and access a range of topics to get deeper insight on successfully using Zoho CRM.



                                                                                                                                  Webinars

                                                                                                                                  Sign up for our webinars and learn the Zoho CRM basics, from customization to sales force automation and more.



                                                                                                                                  CRM Tips

                                                                                                                                  Make the most of Zoho CRM with these useful tips.



                                                                                                                                    Zoho Show Resources