Skip to main content
Question

Duplicate values in custom report after adding EPCompanyTreeMaster filter for Manager

  • May 18, 2026
  • 2 replies
  • 31 views

Sagar Greytrix
Captain II
Forum|alt.badge.img+3

Hi Team,

I am working on an custom report based on PMTimeActivity and needed to add a Manager filter using EPCompanyTreeMaster and EPCompanyTreeMember so managers can view only their employees.

I added joins similar to:

BAccount.DefContactID = EPCompanyTreeMember.ContactID
EPCompanyTreeMember.WorkGroupID = EPCompanyTree.WorkGroupID

and filtered using:

EPCompanyTreeMaster.Description Like @Manager
OR
@Manager IsNull

The filter works correctly, but after adding the EPCompanyTreeMaster and EPCompanyTreeMember joins, the report values are getting duplicated.

Kindly assist if you have added similar filtering using EPCompanyTreeMaster and EPCompanyTreeMember in reports.

Please find the screenshots of my joinings and filterings

 


 


 

 

2 replies

Forum|alt.badge.img+9
  • Captain II
  • May 18, 2026

@Sagar Greytrix 

 

Could you join EPCompanyTreeMaster directly to EPEmployee on WorkgroupID?


Sagar Greytrix
Captain II
Forum|alt.badge.img+3

@aiwan Thank you for your response
 

Yes, I can directly join EPCompanyTreeMaster with EPEmployee, but that would only return the supervisor/master employee details.

Since the requirement is to retrieve both the master employee and their team members, we also need to include EPCompanyTreeMember, as the team members are stored there and linked to the workgroup in EPCompanyTreeMaster.

The join (EPCompanyTreeMaster and EPEmployee) are working correctly and are not causing any duplication issues. However, after adding the parameter, no records are being displayed.