Announcing a change to how null values in formulas are computed in Zoho CRM

Announcing a change to how null values in formulas are computed in Zoho CRM

Dear All,

We hope you're well!

As you all know, the formula field is a versatile field that enables you to perform varied computations, from simple math to concatenation to field value comparisons.

To learn more about the different capabilities of formula fields, read Data types in formula fields.

What's the change?
Previously, if the value of a participating field was empty, the formula field considered its value to be "0". This is logically incorrect, as zero is a value, whereas null/blank is the absence of a value, which are not the same. This has resulted in erroneous calculations.

We've fixed this behavior.
Henceforth, any formula field without a value will not be computed. The returning value in the formula field will be blank.

Let's understand using an example.

Zylker storage is a physical unit that rents out storage spaces. To help visitors know the price beforehand, Zylker has configured a formula field.

Formula: Rent= No. of storage units * price * duration
Syntax: (${Leads.Price per unit}*${Leads.Number of units}*${Leads.Period of storage required})

As you can see from the image, the "Period of storage required" or duration field is empty. CRM used to consider no value to be 0 and returned 0.

After the update, the rent field will be blank, per the corrected logic.

In cases where the zero or blank value doesn't impact the output (for example: addition), the calculated output will consider a lack of input as zero.

Formula: Rent= (No. of storage units * price * duration) + tax
Syntax: (${Leads.Price per unit}*${Leads.Number of units}*${Leads.Period of storage required})+${Leads.Tax}


In the above image, you can see that even if the tax field is empty, it doesn't hinder the calculation, and so the formula calculates the rent in this case.

That's all for this announcement. We'll roll this behavior out to all users in all DCs shortly. To learn more about formulas, read Building Formula Fields  .

Thanks!

P.S. This enhancement is being rolled out for all users in a phased manner.
 


    Access your files securely from anywhere

        Zoho Developer Community




                                  Zoho Desk Resources

                                  • Desk Community Learning Series


                                  • Digest


                                  • Functions


                                  • Meetups


                                  • Kbase


                                  • Resources


                                  • Glossary


                                  • Desk Marketplace


                                  • MVP Corner


                                  • Word of the Day



                                      Zoho Marketing Automation


                                              Manage your brands on social media



                                                    Zoho TeamInbox Resources

                                                      Zoho DataPrep Resources



                                                        Zoho CRM Plus Resources

                                                          Zoho Books Resources


                                                            Zoho Subscriptions Resources

                                                              Zoho Projects Resources


                                                                Zoho Sprints Resources


                                                                  Qntrl Resources


                                                                    Zoho Creator Resources



                                                                        Zoho Campaigns Resources


                                                                          Zoho CRM Resources

                                                                          • CRM Community Learning Series

                                                                            CRM Community Learning Series


                                                                          • Kaizen

                                                                            Kaizen

                                                                          • Functions

                                                                            Functions

                                                                          • Meetups

                                                                            Meetups

                                                                          • Kbase

                                                                            Kbase

                                                                          • Resources

                                                                            Resources

                                                                          • Digest

                                                                            Digest

                                                                          • CRM Marketplace

                                                                            CRM Marketplace

                                                                          • MVP Corner

                                                                            MVP Corner





                                                                              Design. Discuss. Deliver.

                                                                              Create visually engaging stories with Zoho Show.

                                                                              Get Started Now