Create a new custom aggregation function (like “count distinct”) to deduplicate array values across entities when no filter is selected
D
David Meushar
We want to show total unique incidents across users in a Number Chart widget on the user blueprint. But when no user is selected, Port sums incident counts from all users — causing duplicates because the same incident can appear on multiple users. Port needs a custom aggregation function (like “count distinct”) to deduplicate array values across entities when no filter is selected.