Hi Geeda, we can modify the report definition when the class is already created. However, the requirement is to hide the column in the report definition before the class is created, for eg, the column will not appear when a new segment class is generated. The link shared didn't work for me.
I do not know Pega Marketing and don't have access to a system as of now to check the scenario you are reporting. However, in Pega we have an option to mask sensitive data using password and textencrypted property types. Do you think you could use that to mask the data as opposed to hiding the column. That way you have the ability to show some users the data and not others as well.
In PM 7.22, the report definition in the segment class is generated/re-generated on check-in of the segment rule. Hence you are seeing it appearing back. The properties listed in the RD is created dynamically from the properties listed in the customer class.
In latest versions of PM this customization is available.