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

Click behavior doesn't work for Group bys in Pivot Tables #42350

Open
ignacio-mb opened this issue May 7, 2024 · 1 comment
Open

Click behavior doesn't work for Group bys in Pivot Tables #42350

ignacio-mb opened this issue May 7, 2024 · 1 comment
Labels
Priority:P2 Average run of the mill bug Reporting/Dashboards/Click Behavior Type:New Feature Visualization/Tables Raw, summarized, and pivoted tables

Comments

@ignacio-mb
Copy link
Contributor

ignacio-mb commented May 7, 2024

Describe the bug

If you have a pivot table with several summarizations and group bys, when setting up click-behavior, you won't get any variables passed through the click-behavior when clicking the group bys, but yes, the aggregations.

Probably related to the fix we pulled up for this issue: #25203

To Reproduce

  1. Create a Pivot Table based on Orders. Count of rows and sum of Total Grouped by Created At: Year (binned) and Product Category. Save.
  2. Add this pivot table to a dashboard
  3. Set up click behavior for that Table, using any field to any field (indistinct). Save.
  4. See that when you click on the Year field of the Pivot table you won't get any variable passed, but when you click on the Summarizations, you get the values configured.
testing.click.behavior.mov

Expected behavior

Logs

No response

Information about your Metabase installation

- 49.8

Severity

P2

Additional context

A couple of customers are requesting this as the expected behavior

@ignacio-mb ignacio-mb added Type:Bug Product defects Priority:P2 Average run of the mill bug Visualization/Tables Raw, summarized, and pivoted tables Reporting/Dashboards/Click Behavior labels May 7, 2024
@cdeweyx
Copy link

cdeweyx commented May 13, 2024

I think the best course of action here is to:

  1. Not allow these groupby columns to be mapped to click behavior in pivot tables (this never worked, and we are letting people hit a dead end)
  2. Treat this issue as a feature request, and incorporate into other pivot table improvement plans for the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority:P2 Average run of the mill bug Reporting/Dashboards/Click Behavior Type:New Feature Visualization/Tables Raw, summarized, and pivoted tables
Projects
None yet
Development

No branches or pull requests

2 participants