--- title: "Creating a Group Calculator field" slug: "creating-a-group-calculator-field" tags: ["d365fscm", "task", "FSCM V2.0.0.2"] updated: 2026-09-17T09:37:20Z published: 2026-09-17T09:37:20Z canonical: "help.dox42.com/creating-a-group-calculator-field" --- > ## Documentation Index > Fetch the complete documentation index at: https://help.dox42.com/llms.txt > Use this file to discover all available pages before exploring further. # Creating a Group Calculator field Create a Group Calculator field to perform different kinds of calculations in your document template. ## Steps 1. In Microsoft Word, go to the **dox42** ribbon and select **Data Map.** ![Toolbar displaying various functions like Generate, Data Map, and Refresh Template options.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/setting-up-the-d365-fscm-data-sources-image-6me2xixz.png) **dox42** ribbon The **Data Map Designer** window opens. 2. Select the desired Data Source. 3. Select the **Group Calculator** button. The **Group Calculator** window opens. ![Group Calculator interface with fields for function, calculation, and culture settings.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/creating-a-group-calculator-field-image-kltyd730.png) **Group Calculator** window 4. From the **Function** dropdown select the desired function. Example: **COUNT** for counting. 5. From the **Group** dropdown select which data field should be counted. 6. Enter a name for the Group Calculator data field. 7. Select **OK**. 8. Select **File > Save** to save the changes to the Data Map. ## Result You have created a Group Calculator data field that you can insert via the **dox42 Data Fields** explorer. ## Example: Counting the lines of a packing slip 1. Create a group calculator which counts the **ItemID** data field 2. Create a second group calculator. 3. From the **Function** dropdown select the **SUM** entry 4. From the **Calculation Field** select the first group calculator field. ![Group calculator interface showing SUM function and calculation field options.](https://cdn.document360.io/3acc69da-1de2-431d-95a6-08ae83717b4a/Images/Documentation/creating-a-group-calculator-field-image-15mj1dv1.png) Group calculator configuration for counting the lines of a packing slip 5. Insert the group calculator field in the desired place on the report.