There are many factors that can affect the cost basis shown on the dashboard. The two most common issues are:
Transfers between your own wallets are not picked up correctly and instead appear as deposits and withdrawals.
Staking transactions are not tagged correctly.
In such cases, if you filter your transactions by Deposits and Withdrawals, and further filter for transactions with no tags, you will likely see random deposits and withdrawals to or from unknown addresses. These discrepancies can impact your cost basis.