diff --git a/Schaad.Accounting.Services/ChartService.cs b/Schaad.Accounting.Services/ChartService.cs index 103ad09..da00b59 100644 --- a/Schaad.Accounting.Services/ChartService.cs +++ b/Schaad.Accounting.Services/ChartService.cs @@ -131,6 +131,7 @@ namespace Schaad.Accounting.Services var transactions = await viewService.GetTransactionViewListAsync(accountId); return transactions + .Where(t => t.TargetAccountId == accountId) .GroupBy(t => t.Text) .Select(g => new CategoryTotal(g.Key, g.Sum(t => t.GetValue(account.IsFxAccount, accountId)))) .Where(c => c.Value != 0)