Question
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689953000/5c736e12-b243-4e28-9fa1-456be3cf0c5d.jpg?itok=38IchoUK)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689953000/5c736e12-b243-4e28-9fa1-456be3cf0c5d.jpg?itok=38IchoUK)
TATA Consultancy Services
IN
Last activity: 19 May 2017 6:24 EDT
How to hide a column in Report Definition based on Condition.
I need to hide the column in report based on condtion.
***Edited by Maryrita Styer, moved from Pega Customer Service to Product Support Community***
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
Pegasystems Inc.
US
Hi,
I had crosschecked in the latest version of pega also and there is no way you can hide the column based on the condition in the report definition directly. There are only two ways which can help you are as follows:
- Use the repeat grid and source the report definition then apply the visiblity based on condition as explained in my above comment.
- Use the repeat grid and source it with the Virtual report definition. The virtual report data will be constructed by your activity and you can apply the visibility condition on it. For more information about the Virtual Report Definition Grid you can look into the sample example of the OOTB i.e. @baseclass • pxUIGalleryVirtualGrid
Hope this information might help you in achieving your requirement.
Regards,
Mahesh
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689965000/a6dee917-031f-4ccd-92f2-39b2b751f0b2.jpg?itok=v-0rCVxS)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689965000/a6dee917-031f-4ccd-92f2-39b2b751f0b2.jpg?itok=v-0rCVxS)
COFORGE DPA UK LTD
GB
Hi,
There is option setting for each column. select the hide check box to hide the column here.
Thanks
Gaurav
-
GRANDHE PARDHU SIVA SAI RAM KUMAR
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/026f1889-db75-4a06-8c52-5f427dadb27b.jpg?itok=kFBxxSDs)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689951000/026f1889-db75-4a06-8c52-5f427dadb27b.jpg?itok=kFBxxSDs)
Blue Rose Technologies GmbH
DE
If you want to propagate the same setting when you bind the report definition to grid layout, then enable create grid dynamically setting.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/ef6e8c0e-f700-4d3b-be53-63e7045c2b58.jpg?itok=IFaNuXx5)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/ef6e8c0e-f700-4d3b-be53-63e7045c2b58.jpg?itok=IFaNuXx5)
Areteans Technologies
AU
Find the attached for hiding column
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Cognizant Technology Solutions
IN
If we are using aggregate function in our report definition, this Hide Column option will not be present.
Kindly suggest how to hid the column if we are using aggregate function.
-
satish javvaji
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/ef6e8c0e-f700-4d3b-be53-63e7045c2b58.jpg?itok=IFaNuXx5)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/2024-12/ef6e8c0e-f700-4d3b-be53-63e7045c2b58.jpg?itok=IFaNuXx5)
Areteans Technologies
AU
@NadimuthuT: Did the above solution worked ?
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
tata consultancy services
AU
we need to the column based on certain condition. Above solution provided doesn't allow us to refer any condition
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
tata consultancy services
AU
we need to the column based on certain condition. Above solution provided doesn't allow us to refer any condition
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
Pegasystems
IN
You can try using the virtual report definition option with grid where the virtual report definition can have the column or not based on your condition.
https://collaborate.pega.com/question/when-use-specify-virtual-report-definiton
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/97696e1c-a96f-423d-9e5e-623a399570f1.png?itok=dYOkY1LC)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/97696e1c-a96f-423d-9e5e-623a399570f1.png?itok=dYOkY1LC)
Cognizant
IN
Configuration options we wanted were not found in PRPC 7.2.2 (Screenshot below)
So we introduced visibility conditions for the Column Header & Value cells in the grid layout.
This helped us hide the whole column as and when required.
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
Pegasystems Inc.
US
Hi Nadimuthu,
I had created the usecase of your requirement and attached in the post. Kindly look into it and let me know if you still need further help.
Regards,
Mahesh
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689953000/5c736e12-b243-4e28-9fa1-456be3cf0c5d.jpg?itok=38IchoUK)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689953000/5c736e12-b243-4e28-9fa1-456be3cf0c5d.jpg?itok=38IchoUK)
TATA Consultancy Services
IN
HI All,
Thanks for u r reply.
My requirement is in report not in the Grid layout.
In the report i want to hide the column based on access group.
Thnaks in Advance
Muthu
Accepted Solution
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
![](https://accounts.pega.com/sites/default/files/styles/user_image/public/1689979000/321c2db9-adc7-4c43-8f1d-d6a84c486e5a.jpg?itok=mEyE0RUn)
Pegasystems Inc.
US
Hi,
I had crosschecked in the latest version of pega also and there is no way you can hide the column based on the condition in the report definition directly. There are only two ways which can help you are as follows:
- Use the repeat grid and source the report definition then apply the visiblity based on condition as explained in my above comment.
- Use the repeat grid and source it with the Virtual report definition. The virtual report data will be constructed by your activity and you can apply the visibility condition on it. For more information about the Virtual Report Definition Grid you can look into the sample example of the OOTB i.e. @baseclass • pxUIGalleryVirtualGrid
Hope this information might help you in achieving your requirement.
Regards,
Mahesh
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
![](/profiles/pega_profile/modules/pega_user_image/assets/user-icon.png)
CBA
AU
Try with Property security rule which is under security category