Activity Forums Salesforce® Discussions Can we use formula field in SOQL query in Salesforce?

  • Marziya

    Member
    April 17, 2020 at 12:46 pm

    Hii Ayush,
    Yes. Formula fields are calculated at the time of query, so they will calculate at runtime based on the currently saved values for that record. ... Also note that sObject fields that contain formulas return the value of the field at the time the SOQL or SOSL query was issued.

  • Anjali

    Member
    April 17, 2020 at 12:58 pm

    Yes, we can use formula field in SOQL query.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos