Hello,
I’m building a Workshop dashboard in Palantir Foundry using a function-backed bar chart over an Ontology ObjectSet. The chart allows users to select a group-by dimension from a dropdown (e.g., different properties) and displays the Top N by a chosen measure. Users can also filter between “Hit” and “Miss” before aggregation.
The issue arises when I try to use the “Selection as filter” feature to filter a table or another visualization based on the bar chart selection. Workshop requires mapping the selection to a specific Object Type and Property. However, since my group-by property is dynamic (changes with the dropdown), the filter mapping breaks when the group-by changes, and filtering no longer works as expected.
Is there a best practice or workaround for enabling selection-based filtering when the group-by property is dynamic in a function-backed chart?
Thanks