The total number on the scorecard and in the table not matching

I’m using GA4 as the data source.
I’m displaying the same total users in the scorecard and in the table, but the values do not match.

For example:

Scorecard - 6365 displayed as total users

Table - 6538 displayed as the grand total of total users

What is causing these different total values to be displayed?
If you could please explain how to solve this problem, it would be greatly appreciated.

Thanks,
​​​​​​​Masa