# P_polltotal
## Syntax:
@polltotal**({group}, {var})**
## Use Case:
Returns the sum of a numeric variable across all sessions in the group expression.
## Arguments:
- **{group}**: A group expression (e.g., ALL, A+B-C).
- **{var}**: Variable name or braced expression.
## Examples:
1. **@polltotal(ALL, gold)** â†’ total gold across all characters
2. **/baritem {gold} {Gold: @polltotal(ALL, gold)} {1} {40}**
## See Also:
pollmin, pollmax, pollavg, poll, pollwho, G_CrossSessionData
