superset icon indicating copy to clipboard operation
superset copied to clipboard

There is ONLY ONE metric in Filter Box, why NOT support multiple metries 'Metric' field?

Open CasperLiu opened this issue 7 years ago • 2 comments

A clear and concise description of what the bug is.

Expected results

Thanks a lot for your nice help in advance!

Metric in Filter Box Visualization Type should be able to have multiple metris.

Actual results

So far, I could choose ONLY ONE metric in the "Metric" filed.

Screenshots

See the picture below:

image

How to reproduce the bug

  1. Go to 'Charts', choose below 'Region Filter' with type of filter_box: image

  2. Click on Query section, Metric field, and however I tried to add a second metric, I always failed.

image

My question here is WHY there is ONLY ONE metric? Is this by design or a bug/limitation? Thanks!

Environment

(please complete the following information):

  • superset version: [e.g. v0.29, master, commit] 0.28.1

  • python version: python --version (venv) [root@rrswljg003 superset]# python3 --version Python 3.7.3

  • node.js version: node -v Not installed.

  • npm version: npm -v Not intsalled.

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

Thanks a lot again!

CasperLiu avatar May 15 '19 15:05 CasperLiu

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.69. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar May 15 '19 15:05 issue-label-bot[bot]

In newer version it's possible to use different metrics for different filters: Screen Shot 2019-05-15 at 9 44 12 AM

mistercrunch avatar May 15 '19 16:05 mistercrunch