Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: drill-through #294

Open
rpbouman opened this issue Dec 12, 2024 · 1 comment
Open

Feature: drill-through #294

rpbouman opened this issue Dec 12, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@rpbouman
Copy link
Owner

This is a proposal to have a feature that would let you see the actual records from the source dataset that contribute to a particular selection from the result.

@rpbouman rpbouman added the enhancement New feature or request label Dec 12, 2024
@rpbouman
Copy link
Owner Author

rpbouman commented Dec 12, 2024

This feature could be implemented by having a few distinct features that would be useful in their own right:

  • "keep" feature on the axes: User selects a few tuples, and chooses "keep" (probably from the context menu). This would result in a filter being added that selects only the tuples that were selected
  • "relational row id" or "source row id" derived attribute. This would be a special virtual attribute that assigns a unique key (preferably, rownumber() or sequential int) to each row in the source data set. This item would normally not be part of any analytical query. But once the user adds this item to an existing analytical query, it would force grouping on the lowest level, thus "de-aggregating" the result. If we'd use rownumber() to implement it, we have to be careful to assign that before applying any conditions. Basically, selecting this item while also filtering implies generating an extra "stage" (cte) in our query logic, where we first select the raw data along with the rownumber(), and only then apply the filter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant