--- title: "IncrementProjectGlobal" slug: "incrementprojectglobal" updated: 2024-06-28T13:13:59Z published: 2024-06-28T13:14:00Z canonical: "docs.datajet.app/incrementprojectglobal" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.datajet.app/llms.txt > Use this file to discover all available pages before exploring further. # IncrementProjectGlobal PROTOTYPE Increments an existing global variable by the specified amount. | Key | Value(s) | Description | | --- | --- | --- | | method | "IncrementProjectGlobal" | Increments an existing global variable by the specified amount. | | key | "keyname" | Name of variable to modify | | increment | "value to increment by" | Required. Integer. TODO: Can this be negative? | ```json { "method": "SetProjectGlobal", "key": "myCounter", "value": 0, "project": "LargeDataSource" } ``` ```json { "method": "IncrementProjectGlobal", "key": "myCounter", "increment": 1, "project": "LargeDataSource" } ``` ![](https://cdn.document360.io/73b6469b-c1e4-47e9-aa65-986c8ebd17ca/Images/Documentation/image-1719563105112.png)