{"id":1830,"date":"2019-03-20T10:04:22","date_gmt":"2019-03-20T09:04:22","guid":{"rendered":"https:\/\/help.cirrus-shield.com\/docs\/fields\/create-formula-field\/"},"modified":"2019-07-05T15:54:25","modified_gmt":"2019-07-05T14:54:25","slug":"create-formula-field","status":"publish","type":"docs","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/fields\/create-formula-field\/","title":{"rendered":"Create Formula 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>Cirrus Shield allows you to create Formula Fields.<\/p>\n<p>Formulas can help you automatically calculate the value of a field based on other fields.<\/p>\n<p><strong><span style=\"color: #ff9900\">1. Create a custom formula field:<\/span><\/strong><\/p>\n<ol>\n<li>\n<p>Log in to Cirrus Shield with your <strong>administrator profile<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Click on your name, then select <strong>Setup<\/strong>.<\/p>\n<\/li>\n<li>\n<p>Go to the <b>Object<\/b> tab, find the object on wich you want to add a custom formula field, and click on<strong> Details <\/strong>.<\/p>\n<\/li>\n<li>\n<p>Click on the <strong>Custom Fields\u00a0<\/strong>(On the top left).<\/p>\n<\/li>\n<li>\n<p>Click on <strong>New.\u00a0<\/strong>Select the <strong>Formula<\/strong> field data type, and click <strong>Next<\/strong>.<\/p>\n<\/li>\n<li>Insert all the required <strong>Details<\/strong>.<\/li>\n<\/ol>\n<p><strong><span style=\"color: #ff9900\">2. Fill details of the Formula Field Data Type:<\/span><\/strong><\/p>\n<ol>\n<li>Enter the<strong> Label<\/strong> of the Field. The <strong>Name<\/strong> is automatically filled.<\/li>\n<li>Check the box &#8220;<strong>Blank fields will be considered as zeroes<\/strong>&#8221; if you want to see zero when the field is empty or check the box &#8220;<strong>The Blank fields will be considered as blanks<\/strong>&#8221; if you want empty value when the field is empty.<\/li>\n<li>Select the desired <strong>Return Data type\u00a0<\/strong>(or the data you expect returned from your formula):<\/li>\n<\/ol>\n<ul>\n<li>The <strong>Checkbox<\/strong> : Returns a true or false value. The field appears as a checkbox in record detail pages and reports.\u00a0<\/li>\n<li>The <strong>Currency<\/strong>: Returns a number in currency format.<\/li>\n<li>The <strong>Date<\/strong>: Returns data that represents a day on the calendar.\u00a0<\/li>\n<li>The <strong>Date\/Time<\/strong>: Returns data that represents a moment in time. A date\/time field includes the date and also the time of day including hour, minutes, and seconds.\u00a0<\/li>\n<li>The <strong>Number<\/strong>: Returns a positive or negative integer or decimal.\u00a0<\/li>\n<li>The <strong>Percent<\/strong>: Returns a number in percent format.\u00a0<\/li>\n<li>The <strong>Text<\/strong>: Returns a number of characters.\u00a0<\/li>\n<\/ul>\n<p>\u00a0 \u00a0 \u00a0 \u00a04. Use the <strong>Fields<\/strong>, <strong>Operators<\/strong> and <strong>Functions<\/strong> tabs to create your formula.\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a06. Select the right field and use the <strong>Operators<\/strong> and <strong>Functions<\/strong> to complete your formula:\u00a0<\/p>\n<p>\u00a0 \u00a0 \u00a0 \u00a07. Once your formula is ready, check it using the button <strong>Verify Formula<\/strong> on the right, then click on <strong>Save<\/strong>.<\/p>\n<p>&nbsp;<\/p>\n<\/div>\n<\/div><\/div>\n<\/section>\n<p><!-- eb64b1173f49a8401c6badbadbb076ca --><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":213,"menu_order":8,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"doc_tag":[],"class_list":["post-1830","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1830","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=1830"}],"version-history":[{"count":68,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1830\/revisions"}],"predecessor-version":[{"id":2128,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1830\/revisions\/2128"}],"up":[{"embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/213"}],"next":[{"title":"Create Date and Date\/Time Field","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/fields\/date-date-time-field\/","href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/5969"}],"prev":[{"title":"Create Multi-Relationship Field","link":"https:\/\/help.cirrus-shield.com\/en\/docs\/fields\/create-multi-relationship-field\/","href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/docs\/1817"}],"wp:attachment":[{"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/media?parent=1830"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.cirrus-shield.com\/en\/wp-json\/wp\/v2\/doc_tag?post=1830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}