ID / Name label option for Filterbox #19184
Replies: 29 comments 4 replies
-
@durchgedreht thanks for suggesting. we included this item in 2021Q1 roadmap(tentative), but will mostly likely to implement the enhancement on the dashboard native filter, which is currently behind a feature flag. |
Beta Was this translation helpful? Give feedback.
-
Hi! I enabled dashboard native filters on my instance but did not see this feature. I also could not find a report about this feature in the related PRs: Can someone please confirm that this feature is still on the roadmap? If yes, what's the corresponding ticket? |
Beta Was this translation helpful? Give feedback.
-
Any news on this? |
Beta Was this translation helpful? Give feedback.
-
Is there a branch that I could checkout to get started on helping push this forward? @jhult @junlincc @suddjian |
Beta Was this translation helpful? Give feedback.
-
Hello, this seems like a relatively simple feature, but would make a lot of stuff easier. Is this item still on the roadmap? |
Beta Was this translation helpful? Give feedback.
-
Will pick it up, thanks for letting us know! |
Beta Was this translation helpful? Give feedback.
-
This got enabled in native filters and will not be addressed under filter box which is depracated already |
Beta Was this translation helpful? Give feedback.
-
@amitmiran137 Hello, do you know which version of superset enable this in native filters ? Thank you ! |
Beta Was this translation helpful? Give feedback.
-
Probably 1.3.2 |
Beta Was this translation helpful? Give feedback.
-
@amitmiran137 I'm using superset 1.3.2 but I can't figure how to do it, maybe I'm missing something ? |
Beta Was this translation helpful? Give feedback.
-
Reopening this issue as I does not appear to be solved. If I am mistaken could you please link a screenshot or PR so users are aware of how the feature works? |
Beta Was this translation helpful? Give feedback.
-
From what I can tell, this was not built as part of the original Native Filters scope. We might be able to shoehorn it into some upcoming work around Native Filters, as it seems to me like a perfectly reasonable and useful feature addition. That said, it's more of a feature request than a bug report, per se, so I'm tempted to move this to the "Ideas" area of Discussions instead of its current state as an issue. Any objections to the move? |
Beta Was this translation helpful? Give feedback.
-
I can confirm this is not yet available. In a sense adding this feature isn't very difficult: The
I'm most concerned with 1), but as I haven't worked on this area for a while I'm not sure if this is a valid concern. @michael-s-molina , do you know if we could easily add an optional column label selector to the Value filter without adding more tech debt to the filter config modal? |
Beta Was this translation helpful? Give feedback.
-
@villebro We are currently working on stage 1 of the native filters design changes. The primary objective is to remove the old filter box at the end of this stage. I would advise including this requirement in stage 2 analysis where we'll probably refactor the whole module and your concerns will be addressed. |
Beta Was this translation helpful? Give feedback.
-
Thanks @michael-s-molina , that sounds like a good plan! |
Beta Was this translation helpful? Give feedback.
-
I used this command on chrome to remove the elements:
|
Beta Was this translation helpful? Give feedback.
-
I would also like to filter dashboards using IDs instead of Names. That would be a great feature! |
Beta Was this translation helpful? Give feedback.
-
Hi all, is there some news regarding this feature? thanks. |
Beta Was this translation helpful? Give feedback.
-
Any news on this feature ? Thank you! |
Beta Was this translation helpful? Give feedback.
-
more than 2 years and nothing done yet/... |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? I have |
Beta Was this translation helpful? Give feedback.
-
Hello, what is a status of that topic? |
Beta Was this translation helpful? Give feedback.
-
Filterbox has been removed on |
Beta Was this translation helpful? Give feedback.
-
Any news on this? Generally from my perspective superset would gain much functionality if filtering was more complex/parametrizable for business users (similar in a form to eg. Jquery builder). |
Beta Was this translation helpful? Give feedback.
-
Any news on this feature ? |
Beta Was this translation helpful? Give feedback.
-
I am interested in this feature too. And might be able to convince my company to invest in me adding it. |
Beta Was this translation helpful? Give feedback.
-
Is there a solution for this problem? |
Beta Was this translation helpful? Give feedback.
-
This is amazing an amazing milestone |
Beta Was this translation helpful? Give feedback.
-
Still nothing? This would be such a nice feature |
Beta Was this translation helpful? Give feedback.
-
EDIT 2024: The "Filterbox" filters discussed here have been removed from Superset starting in 4.0. They have been replaced by Dashboard Native Filters. Please see the version of this request which focuses on Native Filters.
**Is your feature request related to a problem? Please describe.** In many DBs there's an ID / Name pattern. So the *id* is integer and *name* is String for human readable representation. When using Filterbox you have to decide to use id field or String field, but ideally you'd like to use the id field for the technical filter and use the name for labelling only.
example table:
Benefits would be:
Describe the solution you'd like
It would be great to have an option 'verbose column' (or similar) in the filterbox's parameters. That column selection is optional, but would take care about the ID -> string mapping.
In the UI filter box a user would just see values like 'sports', 'cars', 'entertainment', but it could be controlled by preselect_filter using IDs 1, 2, 3.
Describe alternatives you've considered
If the 'verbose' field could be entered using a dedicated SQL expression potentially controlled/secured by some JINJA templating, that would maby more technical, but also more flexible.
Beta Was this translation helpful? Give feedback.
All reactions