<h2>Configuring function fields</h2><br/><div style="overflow-x:auto"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"><head><meta content="text/html; charset=UTF-8" /><meta name="copyright" content="(C) Copyright 2025" /><meta name="DC.rights.owner" content="(C) Copyright 2025" /><meta name="generator" content="DITA-OT" /><meta name="DC.type" content="concept" /><meta name="DC.title" content="Configuring function fields" /><meta name="abstract" content="You can configure up to 20 active function fields per table using the Report Designer. When you configure a function field on a table, you can group or stack by the results of the function calculation." /><meta name="description" content="You can configure up to 20 active function fields per table using the Report Designer. When you configure a function field on a table, you can group or stack by the results of the function calculation." /><meta name="DC.relation" scheme="URI" content="../../../use/reporting/concept/function-fields-reporting.html" /><meta name="DC.relation" scheme="URI" content="../../../use/performance-analytics/concept/c_performanceAnalyticsAndReporting.html" /><meta name="DC.relation" scheme="URI" content="../../../use/reporting/concept/classic-vis-overview.html" /><meta name="DC.relation" scheme="URI" content="../../../use/reporting/reference/reporting-landing-page.html" /><meta name="DC.relation" scheme="URI" content="../../../use/reporting/concept/c_AdvancedReporting.html" /><meta name="DC.contributor" content="joe.silber" /><meta name="DC.contributor" content="courtney.bradwell" /><meta name="DC.creator" content="ServiceNow" /><meta name="DC.date.created" content="2023-08-03" /><meta name="DC.date.modified" content="2024-08-01" /><meta name="DC.format" content="XHTML" /><meta name="DC.identifier" content="configure-function-fields" /><link rel="stylesheet" type="text/css" href="../../../CSS/commonltr.css" /><title>Configuring function fields</title></head><body id="configure-function-fields"> <div class="breadcrumb"><a class="link" href="../../../use/performance-analytics/concept/c_performanceAnalyticsAndReporting.html" title="Optimize processes and increase productivity with the Platform Analytics applications. These applications include Reporting, Performance Analytics, User Experience Analytics, and Process Mining. Present data through either the Core UI or the Platform Analytics experience.">Analyze and optimize business processes</a> > <a class="link" href="../../../use/reporting/concept/classic-vis-overview.html" title="Present analytics on Core UI dashboards through reports and Performance Analytics widgets. Explore Performance Analytics indicators on the Analytics Hub.">Reporting, dashboards, and Performance Analytics in the Core UI</a> > <a class="link" href="../../../use/reporting/reference/reporting-landing-page.html" title="ServiceNow Reporting enables you to create and distribute reports that show the current state of instance data, such as the number of open incidents of each priority. Reporting functionality is available by default for all tables, except for system tables.">Reporting</a> > <a class="link" href="../../../use/reporting/concept/c_AdvancedReporting.html" title="Learn how to customize report visualizations and the data you report on.">Advanced reporting topics</a> > </div> <h1 class="title topictitle1" id="ariaid-title1">Configuring function fields</h1> <div class="body conbody"><p class="shortdesc">You can configure up to 20 active function fields per table using the Report Designer. When you configure a function field on a table, you can group or stack by the results of the function calculation.</p> <div class="section"> <p class="p">Role required: admin, function_field_admin.</p> <p class="p"><span class="ph">While regular fields store a value in the database, a function field displays the results of a database query. The function field generates the value based on computations of other fields and constants. You can use these fields in reports and data visualizations as you would other fields.</span></p> <div class="p">Limitations:<ul class="ul" id="configure-function-fields__ul_ghl_nc2_tmb"><li class="li">Function fields in reporting do not support dot walking.</li><li class="li">Security is evaluated on the components of the function and on the calculated value of the field. When used in visualizations, sections that contain information that the user is not allowed to see are hidden from the user.</li><li class="li">Only the creator of a function field or a platform admin can edit or deactivate that field. Platform admins can deactivate any function field.</li><li class="li">Field function names must be unique.</li><li class="li">Only 20 function fields can be active on a table at any one time. To add function fields, you must deactivate others. See <a class="xref" href="delete-function-field.html" title="The user who created a function field or a user with the platform_admin role can deactivate it. If there are more than 20 function fields on a table, you cannot create a new function field without deactivating one or more existing ones.">Deactivate a function field</a>.</li></ul> </div> </div> </div> <div class="related-links"> <div class="familylinks"> <div class="parentlink"><strong>Parent Topic:</strong> <a class="link" href="../../../use/reporting/concept/function-fields-reporting.html" title="While regular fields store a value in the database, a function field displays the results of a database query. The function field generates the value based on computations of other fields and constants. You can use these fields in reports and data visualizations as you would other fields.">Report on function fields</a></div> </div> </div></body></html></div>