function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vasu@blrVasu@blr 

How many formula fields we can create for an object?

I need to create 40 formula fields for an object is there any govarnor limits

bob_buzzardbob_buzzard

There is no specific governor limit for formula fields, but if you are retrieving a lot of them in a SOQL query you may hit limits.  The max size of a SOQL query is 10,000 characters, but if formula fields are involved these are automatically expanded up in the query so you might breach that unexpectedly.