{"id":1105,"date":"2017-05-03T15:43:55","date_gmt":"2017-05-03T14:43:55","guid":{"rendered":"https:\/\/help.cirrus-shield.com\/docs\/fields\/create-roll-up-summary-field\/"},"modified":"2019-07-05T15:05:18","modified_gmt":"2019-07-05T14:05:18","slug":"create-roll-up-summary-field","status":"publish","type":"docs","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/fields\/create-roll-up-summary-field\/","title":{"rendered":"Create Roll-up Summary Field"},"content":{"rendered":"<section class=\"fw-main-row \">\n<div class=\"fw-container\">\n<div class=\"fw-row\">\n<div class=\"fw-col-xs-12\">\n<p>Unlike Formula that calculate values using fields from a single record, <strong>roll-up summary<\/strong>\u00a0calculate values from several related records.<\/p>\n<p>You can count the number of records from a related object, calculate the sum or the average, display the minimum value, the maximum value, the first date or the last date of a field.<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #ff8a00\">To Create a Roll-up Summary Field<\/span><\/strong><\/p>\n<p style=\"padding-left: 30px\">1. Log in to Cirrus Shield with your <strong>administrator profile<\/strong>.<\/p>\n<p style=\"padding-left: 30px\">2.\u00a0Click on your name, then select <strong>Setup<\/strong>.<\/p>\n<p style=\"padding-left: 30px\">3.\u00a0Go to the <b>Object<\/b>\u00a0tab, and click on<strong> Details<\/strong>.<\/p>\n<p style=\"padding-left: 30px\">4.\u00a0Click on the\u00a0<strong>Custom Fields\u00a0<\/strong>(On the top left).<\/p>\n<p style=\"padding-left: 30px\">5. Click on\u00a0<strong>New.\u00a0<\/strong>Select Roll-up field type, and click <strong>Next<\/strong>.<\/p>\n<p style=\"padding-left: 30px\">6. Select the object from the &#8220;<strong>Summarized Object<\/strong>&#8221; field. This object contains the records you want to summarize.<\/p>\n<p style=\"padding-left: 30px\">7. Select the &#8220;<strong>Roll-up<\/strong>&#8221; type (See below).<\/p>\n<p style=\"padding-left: 30px\">8. Enter your<strong> filter criteria<\/strong> if you want to calculate values from specific records.<\/p>\n<p style=\"padding-left: 30px\">9. <strong>Save<\/strong>.<\/p>\n<div class=\"fw-divider-space\" style=\"padding-top: 25px\"><\/div>\n<div class=\"fw-table\">\n<table>\n<thead>\n<tr class=\"heading-row\">\n<th class=\"default-col\">\n\t\t\t\t\t\t\t\t<span style=\"color: #ff8a00\"><b>Type<\/b><\/span>\t\t\t\t\t\t\t<\/th>\n<th class=\"default-col\">\n\t\t\t\t\t\t\t\t<span style=\"color: #ff8a00\"><b>Description<\/b><\/span>\t\t\t\t\t\t\t<\/th>\n<\/tr>\n<\/thead>\n<tr class=\"default-row\">\n<td class=\"default-col\">\n\t\t\t\t\t\t\t<b>COUNT<\/b>\t\t\t\t\t\t<\/td>\n<td class=\"default-col\">\n\t\t\t\t\t\t\tCount the number of related records.\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr class=\"default-row\">\n<td class=\"default-col\">\n\t\t\t\t\t\t\t<b>SUM<\/b>\t\t\t\t\t\t<\/td>\n<td class=\"default-col\">\n\t\t\t\t\t\t\tTotals the values of the field you selected in the &#8220;Field to Aggregate&#8221;. Only for number, currency and percent fields.\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr class=\"default-row\">\n<td class=\"default-col\">\n\t\t\t\t\t\t\t<b>MIN<\/b>\t\t\t\t\t\t<\/td>\n<td class=\"default-col\">\n\t\t\t\t\t\t\tDisplay the lowest value of the field you selected in the &#8220;Field to Aggregate&#8221;. Only for number, currency and percent fields.\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr class=\"default-row\">\n<td class=\"default-col\">\n\t\t\t\t\t\t\t<b>MAX<\/b>\t\t\t\t\t\t<\/td>\n<td class=\"default-col\">\n\t\t\t\t\t\t\tDisplay the highest value of the field you selected in the &#8220;Field to Aggregate&#8221;. Only for number, currency and percent fields.\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr class=\"default-row\">\n<td class=\"default-col\">\n\t\t\t\t\t\t\t<b>AVR<\/b>\t\t\t\t\t\t<\/td>\n<td class=\"default-col\">\n\t\t\t\t\t\t\tCalculate the average of the field you selected in the &#8220;Field to Aggregate&#8221;. Only for number, currency and percent fields.\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr class=\"default-row\">\n<td class=\"default-col\">\n\t\t\t\t\t\t\t<b>FIRST DATE<\/b>\t\t\t\t\t\t<\/td>\n<td class=\"default-col\">\n\t\t\t\t\t\t\tDisplay the first date of the field you selected in the &#8220;Field to Aggregate&#8221;. Only for date and date\/time fields.\t\t\t\t\t\t<\/td>\n<\/tr>\n<tr class=\"default-row\">\n<td class=\"default-col\">\n\t\t\t\t\t\t\t<b>LAST DATE<\/b>\t\t\t\t\t\t<\/td>\n<td class=\"default-col\">\n\t\t\t\t\t\t\tDisplay the last date of the field you selected in the &#8220;Field to Aggregate&#8221;. Only for date and date\/time fields.\t\t\t\t\t\t<\/td>\n<\/tr>\n<\/table>\n<\/div>\n<\/div>\n<\/div><\/div>\n<\/section>\n<p><!-- 966f0d1a9c6e0aae2b041720c54a2ccf --><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":213,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"doc_tag":[],"class_list":["post-1105","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1105","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/comments?post=1105"}],"version-history":[{"count":9,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1105\/revisions"}],"predecessor-version":[{"id":2103,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1105\/revisions\/2103"}],"up":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/213"}],"next":[{"title":"Create Icon Value Field","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/fields\/icon-value-field\/","href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1809"}],"prev":[{"title":"Create Lookup Field","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/fields\/create-a-lookup-field\/","href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/224"}],"wp:attachment":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/media?parent=1105"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/doc_tag?post=1105"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}