You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "Priya359 (via GitHub)" <gi...@apache.org> on 2023/11/24 04:40:42 UTC

[I] How to add Filter selected value in Chart heading in superset dashboard [superset]

Priya359 opened a new issue, #26089:
URL: https://github.com/apache/superset/issues/26089

   ## Screenshot
   
   Is it possible to add filter selected value in chart heading in superset dashboard ?
   e.g : If there is month filter and i have selected August month, so can i show august value in chart heading or description in any way ?
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org.apache.org

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


Re: [I] How to add Filter selected value in Chart heading in superset dashboard [superset]

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke commented on issue #26089:
URL: https://github.com/apache/superset/issues/26089#issuecomment-1825854947

   No, unfortunately this is not currently possible. People often ask about it, though, so I would encourage you to search GitHub discussions and issues to see if a feature request for it exists. If not, you could create a GitHub discussion for the feature request.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] How to add Filter selected value in Chart heading in superset dashboard [superset]

Posted by "debggr (via GitHub)" <gi...@apache.org>.
debggr commented on issue #26089:
URL: https://github.com/apache/superset/issues/26089#issuecomment-2292083989

   I found a hacky way to get it. Not perfect though.
   
   Basically create a dataset that returns the filter value.
   
   Dataset query:
   
   `{% if filter_values('filter_col_name') %}
     SELECT {{ filter_values('filter_col_name')|where_in }} as filter_value
   {% else %}
     SELECT 'Filter Not Selected' as filter_value
   {% endif %}`
   
   Then create a "WordCloud" chart with dimension `filter_value` as metric set to 0.
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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


Re: [I] How to add Filter selected value in Chart heading in superset dashboard [superset]

Posted by "sfirke (via GitHub)" <gi...@apache.org>.
sfirke closed issue #26089: How to add Filter selected value in Chart heading in superset dashboard
URL: https://github.com/apache/superset/issues/26089


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

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