You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/04/10 14:24:03 UTC

[GitHub] [incubator-superset] jpetot opened a new issue #9502: Filter box on a metrics

jpetot opened a new issue #9502: Filter box on a metrics
URL: https://github.com/apache/incubator-superset/issues/9502
 
 
   Hi, 
   
   I want to create a filter box for my dashboard. 
   I want to apply the filter control on a metrics (not a columns)
   
   ### Expected results
   
   I expect metric or custom sql space in the filter controls bar 
   
   ### Actual results
   
   currently I only can choose my columns
   
   #### Screenshots
   
   ![Capture d’écran 2020-04-10 à 16 19 14](https://user-images.githubusercontent.com/48205834/78997778-8572a900-7b47-11ea-9e1c-0294ca97cedd.png)
   
   
   
   
   ### Environment
   
   (please complete the following information):
   
   - superset version: `superset website`
   - python version: `python --3.7`
   - node.js version: `node -v`
   - npm version: `npm -v`
   
   ### Checklist
   
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [x] I have reproduced the issue with at least the latest released version of superset.
   - [x] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] mistercrunch commented on issue #9502: Filter box on a metric

Posted by GitBox <gi...@apache.org>.
mistercrunch commented on issue #9502:
URL: https://github.com/apache/incubator-superset/issues/9502#issuecomment-632823329


   Longer term we want to make filter box as a dashboard native component and completely redesign it. [SIP-34](https://github.com/apache/incubator-superset/issues/8976) touches on some ideas around contextual filter bars.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] stale[bot] commented on issue #9502: Filter box on a metric

Posted by GitBox <gi...@apache.org>.
stale[bot] commented on issue #9502:
URL: https://github.com/apache/incubator-superset/issues/9502#issuecomment-663807191


   This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue `.pinned` to prevent stale bot from closing the issue.
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] mistercrunch commented on issue #9502: Filter box on a metric

Posted by GitBox <gi...@apache.org>.
mistercrunch commented on issue #9502:
URL: https://github.com/apache/incubator-superset/issues/9502#issuecomment-632821965


   Workaround idea: creating a "bracket" column either as a physical column or as an expression.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] mistercrunch edited a comment on issue #9502: Filter box on a metric

Posted by GitBox <gi...@apache.org>.
mistercrunch edited a comment on issue #9502:
URL: https://github.com/apache/incubator-superset/issues/9502#issuecomment-632823329


   Longer term we want to make filter box as a dashboard native component (as opposed to the current "special visualization" status) and completely redesign it. [SIP-34](https://github.com/apache/incubator-superset/issues/8976) touches on some ideas around contextual filter bars.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] stale[bot] closed issue #9502: Filter box on a metric

Posted by GitBox <gi...@apache.org>.
stale[bot] closed issue #9502:
URL: https://github.com/apache/incubator-superset/issues/9502


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] thunderbird57 commented on issue #9502: Filter box on a metric

Posted by GitBox <gi...@apache.org>.
thunderbird57 commented on issue #9502:
URL: https://github.com/apache/incubator-superset/issues/9502#issuecomment-629559164


   I have exactly same problem


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] mistercrunch commented on issue #9502: Filter box on a metric

Posted by GitBox <gi...@apache.org>.
mistercrunch commented on issue #9502:
URL: https://github.com/apache/incubator-superset/issues/9502#issuecomment-632821430


   The filter box "visualization" could have an option to reuse the `FilterControl`. In theory this should work


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] thunderbird57 commented on issue #9502: Filter box on a metric

Posted by GitBox <gi...@apache.org>.
thunderbird57 commented on issue #9502:
URL: https://github.com/apache/incubator-superset/issues/9502#issuecomment-632823060


   > Workaround idea: creating a "bracket" column either as a physical column or as an expression.
   
   Yes this work in cases where we have static ranges known. We have created some calculated columns to define filter ranges and then use it dimension filters. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [incubator-superset] mistercrunch edited a comment on issue #9502: Filter box on a metric

Posted by GitBox <gi...@apache.org>.
mistercrunch edited a comment on issue #9502:
URL: https://github.com/apache/incubator-superset/issues/9502#issuecomment-632821965


   Workaround idea: creating a "bracket" column either as a physical column or as an expression. Ex: instead of an integer age column, you can expose a `0-9`, `10 to 19`,  ...
   
   But that's just a workaround. Curious how other dashboarding tools do it. I remember seeing range sliders and such on other tools. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org