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

filter box with an option to 'group by' the data #13369

Closed
hyouinKyouma opened this issue Feb 27, 2021 · 3 comments · Fixed by #14217
Closed

filter box with an option to 'group by' the data #13369

hyouinKyouma opened this issue Feb 27, 2021 · 3 comments · Fixed by #14217
Labels
assigned:nielsen Assigned to the nielsen team dashboard:indicator Related to the filter indicator of a Dashboard dashboard:native-filters Related to the native filters of the Dashboard enhancement:request Enhancement request submitted by anyone from the community

Comments

@hyouinKyouma
Copy link

hyouinKyouma commented Feb 27, 2021

Hi all,
Filterbox is a great feature to filter data but there are features that can make it better.
Here is my used case:
So lets say that I have a 100 products of different colors, red = 40, blue=20, green=20, , yellow= 20.

I am using 'Table' visualization in dashboard with metric = count

Now when no filter is applied it will show me all the 500 products in the table, and I can select any color from the drop down, lets say that I selected yellow so it will show me the count of 100 for yellow.

But here is the problem I can't have a group by option in the filter box to count of products in the 'Table' for different colors. so I can never see count for all the products for different colors. One option here is to have group by filter applied on the 'table'. but it soon starts to get complicated when working with more than single group by options.

Wouldn't it be nice to have a checkbox beside the filter box drop down to specify the group by category for the data?

Here I have added the pics for giving the rough idea of my proposition,

githubq3

In current implementation following steps had to be followed:
1.. add the color category to group by.
2.. select all the colors in the dashboard in the filterbox

githubQ6

desired implementation:
1.. have a checkbox to dyanamically group by based on the category.
2.. default state should be all.

@junlincc junlincc added enhancement:request Enhancement request submitted by anyone from the community dashboard:indicator Related to the filter indicator of a Dashboard dashboard:native-filters Related to the native filters of the Dashboard labels Feb 28, 2021
@amitmiran137 amitmiran137 added the assigned:nielsen Assigned to the nielsen team label Mar 30, 2021
@junlincc junlincc added the good first issue Good first issues for new contributors label Mar 31, 2021
@amitmiran137 amitmiran137 removed the good first issue Good first issues for new contributors label Mar 31, 2021
@yashsaxena
Copy link

Hey @amitmiran137 looking forward to see this feature in superset !!! :)

@amitmiran137
Copy link
Member

We will start working on this next week and let you know

@amitmiran137 amitmiran137 linked a pull request Apr 20, 2021 that will close this issue
8 tasks
@amitmiran137
Copy link
Member

resolves #14217

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
assigned:nielsen Assigned to the nielsen team dashboard:indicator Related to the filter indicator of a Dashboard dashboard:native-filters Related to the native filters of the Dashboard enhancement:request Enhancement request submitted by anyone from the community
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants