In the same category as calculated fields is rollup fields. Generating this type of field is quite like adding calculated fields. The purpose of rollup fields is to aggregate data from multiple child records. This addition is extremely helpful as it reduces a lot of previous code complexity when performing such actions. An example is calculating the number of closed opportunities in the last 6 months. In the previous version of Dynamics 365, before rollup fields were available, this scenario was handled by a developer creating this functionality custom through code. Now, this can be replaced with simple customization.
Adding a rollup field is an option made available to only certain field data types. The ones that do not accept rollup fields are as follows:
- Single Line of Text
- Option Set
- Two Options
- Image
- Floating Point Number
- Multiple Lines of Text
- Lookup
Selecting a data type that supports rollup fields allows us to set the field type as rollup, as...