Hi Team,
We have observed a discrepancy in Pega Insights when an Insight includes fields from the primary class as well as fields from an associated class.
Scenario
- Insight is built using an association between two classes.
- Columns from both the primary class and associated class are included in the Insight.
- The count displayed in the Insight is higher than expected.
- However, when we export the results to Excel, the exported record count appears to be correct.
Example
- Insight displays: 1,250 records
- Exported results contain: 1,200 records (expected count)
Observation
The issue seems to occur only when fields from the associated class are used. It looks like duplicate rows may be getting counted in the Insight due to the join/association, while the export process is returning the distinct records correctly.
Questions
- Has anyone experienced a similar difference between Insight counts and exported results?
- Are there any known limitations or settings in Insights related to associations and joins?
- Is the Insight count calculated before applying any distinct/grouping logic that might be applied during export?
- Are there specific configurations we should verify to ensure consistency between the displayed count and exported results?
Any guidance or known solutions would be greatly appreciated.
Thanks!