{"id":2279,"date":"2024-01-03T17:29:21","date_gmt":"2024-01-03T15:29:21","guid":{"rendered":"https:\/\/bitimpulse.com\/?post_type=manual&#038;p=2279"},"modified":"2025-01-10T15:36:25","modified_gmt":"2025-01-10T13:36:25","slug":"stvorennya-obchyslyuvanyh-poliv","status":"publish","type":"manual","link":"https:\/\/bitimpulse.com\/en\/manual\/3-storinky-v-zvitah\/stvorennya-obchyslyuvanyh-poliv\/","title":{"rendered":"Creating a Calculated Field"},"content":{"rendered":"<p>After you created the data source, you can add a new calculated field based on the existing data source fields.<\/p>\n<p>To create a calculated field, select the required data source in the Data Source list and click the \u00abAdd Calculated Field\u00bb button on the \u201cData Source\u201d tab:<\/p>\n<p><a href=\"http:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_27.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2280\" src=\"http:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_27.png\" alt=\"\" width=\"715\" height=\"344\" srcset=\"https:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_27.png 715w, https:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_27-450x217.png 450w, https:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_27-300x144.png 300w\" sizes=\"auto, (max-width: 715px) 100vw, 715px\" \/><\/a><\/p>\n<p>In the \u201cExpression Editor\u201d window that appears, you can specify the calculated field:<\/p>\n<p><a href=\"http:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_28.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-2281\" src=\"http:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_28.png\" alt=\"\" width=\"570\" height=\"470\" srcset=\"https:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_28.png 570w, https:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_28-450x371.png 450w, https:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_28-300x247.png 300w\" sizes=\"auto, (max-width: 570px) 100vw, 570px\" \/><\/a><\/p>\n<p>The following elements are available:<\/p>\n<ul>\n<li>Functions<\/li>\n<li>Operators<\/li>\n<li>Columns<\/li>\n<li>Constants<\/li>\n<\/ul>\n<p>Later-generated calculated field will be displayed in the data source structure:<\/p>\n<p><a href=\"http:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_29-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8996\" src=\"http:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_29-1.png\" alt=\"\" width=\"213\" height=\"265\" \/><\/a><\/p>\n<p>The calculated field has its own context menu:<\/p>\n<p><a href=\"http:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_30-1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-8997\" src=\"http:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_30-1.png\" alt=\"\" width=\"344\" height=\"287\" srcset=\"https:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_30-1.png 344w, https:\/\/bitimpulse.com\/wp-content\/uploads\/2024\/01\/6_1_30-1-300x250.png 300w\" sizes=\"auto, (max-width: 344px) 100vw, 344px\" \/><\/a><\/p>\n<ul>\n<li>Add Calculated Field &#8211; add calculated field;<\/li>\n<li>Edit Expression\u2026 &#8211; edit calculated field;<\/li>\n<li>Field Type \u2013 define calculated field type;<\/li>\n<li>Rename \u2013 changes the calculated field name;<\/li>\n<li>Delete \u2013 removes the calculated field from the data source.<\/li>\n<\/ul>\n<p><\/p>","protected":false},"featured_media":0,"parent":2193,"menu_order":16,"template":"","manuals":[16],"class_list":["post-2279","manual","type-manual","status-publish","hentry","manuals-bat-admin"],"_links":{"self":[{"href":"https:\/\/bitimpulse.com\/en\/wp-json\/wp\/v2\/manual\/2279","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitimpulse.com\/en\/wp-json\/wp\/v2\/manual"}],"about":[{"href":"https:\/\/bitimpulse.com\/en\/wp-json\/wp\/v2\/types\/manual"}],"up":[{"embeddable":true,"href":"https:\/\/bitimpulse.com\/en\/wp-json\/wp\/v2\/manual\/2193"}],"wp:attachment":[{"href":"https:\/\/bitimpulse.com\/en\/wp-json\/wp\/v2\/media?parent=2279"}],"wp:term":[{"taxonomy":"manuals","embeddable":true,"href":"https:\/\/bitimpulse.com\/en\/wp-json\/wp\/v2\/manuals?post=2279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}