question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Filter box on a metric

See original GitHub issue

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 can only choose my columns

Screenshots

Capture d’écran 2020-04-10 à 16 19 14

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!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • 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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

3reactions
mistercrunchcommented, May 22, 2020

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 touches on some ideas around contextual filter bars.

3reactions
mistercrunchcommented, May 22, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filter box on a metric #9502 - apache/superset - GitHub
Hi, I want to create a filter box for my dashboard. I want to apply the filter control on a metrics (not a...
Read more >
Filter On Metric Dialog Box - MicroStrategy
Use the Filter on Metric dialog box to create a filter on a selected metric based on a rank range of metric values...
Read more >
Creating a metrics configuration that filters by prefix, object tag ...
Describes how to create a metrics configuration that filters by object key name prefix, tag, or access point.
Read more >
Filter data sources in charts - Search Ads 360 Help
If you want a chart to display metrics only from specific campaigns, devices, or even keywords of a particular match type, add a...
Read more >
Selecting the metric result range - Zendesk help
You can add the metric filter option to set a floor or ceiling for your results. With a metric filter, you can exclude...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found