====== How to resolve 'Cannot read property 'people' of undefined' error in N4V for Webi pyramid chart ====== //Anonymised summary of support ticket #930979 (2021-05-12)// ===== Symptom ===== %%The N4V for Webi pyramid chart component displays the error '[TypeError: Cannot read property 'people' of undefined]' when attempting to generate a population pyramid. The error occurs despite the data appearing correct in the Web Intelligence report.%% ===== Environment ===== SAP BusinessObjects Web Intelligence with N4V FOR WEBI extension. SAP BO BI 4.2 Support Pack 9 Patch 1. ===== Resolution ===== - %%Verify that the dataset contains exactly two distinct gender values (e.g., 'Male' and 'Female') as required by the pyramid chart component.%% - %%Check data quality for the age-related measures in the universe or query to ensure no null, error, or out-of-range values are present.%% - If only one gender is available, consider using alternative N4V components such as Multi Chart (with horizontal bar options) or DrillBar for visualization. ===== Other resolution ===== Data validation is critical: ensure numeric fields like age are correctly formatted and within expected ranges to avoid errors in visualization components.