fix: Distributed cost center query updation
diff --git a/erpnext/accounts/report/financial_statements.py b/erpnext/accounts/report/financial_statements.py
index bb33a00..769eb0a 100644
--- a/erpnext/accounts/report/financial_statements.py
+++ b/erpnext/accounts/report/financial_statements.py
@@ -406,6 +406,7 @@
FROM `tabDistributed Cost Center`
WHERE cost_center IN %(cost_center)s
AND parent NOT IN %(cost_center)s
+ AND is_cancelled = 0
GROUP BY parent
) as DCC_allocation
WHERE company=%(company)s