@property
    @memoized
    def initial_columns(self):
        columns = super(ConfigureTableReportForm, self).initial_columns

        # Remove the aggregation indicator from the columns.
        # It gets removed because we want it to be a column in the report,
        # but we don't want it to appear in the builder.
        if self.existing_report:
            agg_properties = [
                self._get_property_from_column(c)
                for c in self.existing_report.aggregation_columns
            ]
            return [c for c in columns if c.property not in agg_properties]
        return columns
dataset/ETHPy150Open dimagi/commcare-hq/corehq/apps/userreports/reports/builder/forms.py/ConfigureTableReportForm.initial_columns/original