# Totals don't add up when comparing

**URL:** <https://community.piwik.pro/t/totals-dont-add-up-when-comparing/3278>\
**Category:** Data collection and tags\
**Created:** [November 22, 2023, 10:19am UTC](https://community.piwik.pro/t/totals-dont-add-up-when-comparing/3278 "2023-11-22T10:19:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![boonenf](https://avatars.discourse-cdn.com/v4/letter/b/94ad74/32.png) [@boonenf](https://community.piwik.pro/u/boonenf)\
**Post date:** [November 22, 2023, 10:19am UTC](https://community.piwik.pro/t/totals-dont-add-up-when-comparing/3278/1 "2023-11-22T10:19:07Z")

</div>

Dear Sir/Madam,

We are noticing discrepancies in the results of our dataspace.copernicus.eu analysis.  
As you can see, the totals generated by the system are not equal to the totals manually calculated, except for Oceanea.

_Notice that underneath are screen grabs, not the actual totals of individual areas._

![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/f/f5e92165308dfb36bbaf0a0f984aad6a693a3b8e.png)

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/2/2594601b3d51fec1216987df185f6e9d41741203.png)  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/7/795a2798afd30a790c3b5fc2bd10944563a656dd.png)  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/c/ca32fa8fc2a0757c59539ba89578305b444863d7.png)  
 ![image](https://europe1.discourse-cdn.com/flex005/uploads/piwikpro/original/2X/f/f8a0cd9627237052a1c27c540d64cfa3027e3d84.png)

---

<div class="post-metadata">

**Author:** ![Oliwer\_Kaczmarek](https://dub1.discourse-cdn.com/flex005/user_avatar/community.piwik.pro/oliwer_kaczmarek/32/3888_2.png) [@Oliwer\_Kaczmarek](https://community.piwik.pro/u/Oliwer_Kaczmarek)\
**Post date:** [November 22, 2023, 12:38pm UTC](https://community.piwik.pro/t/totals-dont-add-up-when-comparing/3278/2 "2023-11-22T12:38:57Z")

</div>

Hi @boonenf,

**The reason for the discrepancy:**

- The sum of visitors on the top is the sum of all unique visitors.
- Visitors can have multiple sessions assigned to them
- Visitor can have one session while being in France and other while visiting USA (or while using VPN with USA ip address)
- Visitor with sessions from different countries will be assigned to each region

**Example:**  
5 visitors in total

- 1 from France
- 1 from USA
- 1 from Germany
- 1 from USA and France (due to VPN for example)
- 1 from Germany and France (due to vacations for example)

Outcome in report:  
Total: 5 visitors

- France: 3 visitors
- USA: 2 visitors
- Germany: 2 visitors

Math outcome:  
5 != 7

Best,  
Oliwer
