A Calculated Field (sometimes called a "derived field") is a special type of field that's assigned a value based on business rules and logic. For example, you could define a "Consumer Score" Calculated Field that's derived based on a consumer's purchase history, or activity, or some other attribute.
Note: Calculated Fields are not supported if you're building a Filter off a Load and Send table.
Calculated Fields are defined as part of the database table set-up (see Tables for more details). The platform allows you to create a recurring schedule for when you want to run the Calculated Field logic, and update the values in this field. When this schedule runs, the platform will populate the Calculated Field in every record within the table. The Filter screen, on the other hand, allows you to run the Calculated Field logic only for the records in the Filter's result set. For example, you could create a Filter that selects "consumers who made a purchase in the last 7 days," then run a "Consumer Score" Calculated Field against only those consumer who met that Filter criteria.
From the Filter screen, you can opt to just generate a Calculated Field Report (which shows counts and statistics), or to run the report AND populate the Calculated Field. The report is useful as an auditing tool, to ensure that your Calculated Field logic is correct, that your Filter logic is correct, and that you're seeing expected results. If you just run the report, the platform will not actually update the Calculated Field in the database. Once you're satisfied with these results, you can then refresh the Calculated Field, which causes the platform to update this field in the database (but again, ONLY for the records in the Filter result set, and NOT for the entire table). See "Refresh a Calculated Field" below for more details on that process.
Generate the Calculated Fields Report To generate the Calculated Fields Report:
|
Refresh a Calculated Field A Calculated Field (sometimes called a "derived field") is a special type of field that's assigns a value based on business rules and logic. For example, you could define a "Consumer Score" field that's derived based on a consumer's purchase history, or activity, or some other attribute. Note: Calculated Fields are not supported if you're building a Filter off a Load and Send table. Calculated Fields are defined as part of the database table set-up (see Tables for more details). The platform allows you to define a recurring schedule for when you want to run the Calculated Field logic, and update the values in this field. When this schedule runs, the platform will populate the Calculated Field in every record within the table. The Filter screen, on the other hand, allows you to run the Calculated Field logic only for the records in the Filter's result set. For example, you could create a Filter that selects "consumers who made a purchase in the last 7 days," then run a "Consumer Score" Calculated Field against only those consumer who meet that Filter criteria. From the Filter screen, you can opt to just generate a Calculated Field Report (see "Generate the Calculated Field Report" above), or to run the report AND populate the Calculated Field. The report is useful as an auditing tool, to ensure that your Calculated Field logic is correct, that your Filter logic is correct, and that you're seeing expected results. If you just run the report, the platform will not actually update the Calculated Field in the database; instead, the report tells you what will happen when you refresh the Calculated Field. Once you're satisfied with the results in the report, you can then refresh the Calculated Field, which causes the platform to update this field in the database (but again, ONLY for the records in the Filter result set, and NOT for the entire table). Note: When you refresh a Calculated Field, the platform also re-generates the Calculated Field Report. To refresh a Calculated Field:
|
Export the Calculated Field Report A Calculated Field (sometimes called a "derived field") is a special type of field that's assigns a value based on business rules and logic. For example, you could define a "Consumer Score" field that's derived based on a consumer's purchase history, or activity, or some other attribute. Note: Calculated Fields are not supported if you're building a Filter off a Load and Send table. The Calculated Field Report shows a list of every value in that field that's included within the Filter result set, as well as a count of how many times each value appears within the result set. The system also displays a pie graph, showing the distribution of these different values. The platform provides a download function, used to export Calculated Field Reports into a Microsoft Excel format. You can optionally export this report for a single, selected Calculated Field, or for all Calculated Fields that were included within the report. To export a Calculated Field Report for a single field:
To export the Calculated Field Report for all fields included in the report:
|