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
admin sureshadmin suresh 

How to display the count of active and inactive opportunity records in account page?

Best Answer chosen by admin suresh
To do this, you can just add two Rollup Summary fields to the account.  Summarize Opportunities and count ones that you consider "Active" and add a second one that summarizes Opportunities you consider "Inactive"

Rollup Summary