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 cannot be used only with time range, shows error

See original GitHub issue

When filter box is open in explore mode, then there is an error coming in the right hand side view. Then, add one more filters from select dropdown, the error will get vanished.

Expected results

When filter box is open in explore mode, then there should be no error and time range filters can be added by default without any other mandate filters

Actual results

When filter box is open in explore mode, then there is an error coming in the right hand side view. Adding one more filters from select dropdown, will remove the error

Screenshots

FilterBoxBug

How to reproduce the bug

  1. Go to Charts and Add a new Chart
  2. Choose a datasource and Choose a viz type as FilterBox
  3. Click on Create a new chart
  4. Observe that error is coming on right hand side explorer view

Environment

  • superset version: master
  • python version: 3.6.5
  • node.js version: 8.9.4
  • npm version: 6.9.0

Checklist

  • 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

NA

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
michellethomascommented, May 24, 2019

There’s a workaround (in master) to get charts working until this bug is fixed, if you click on the + button under “Filters” on your filter box and then remove the control box that pops up that says “N/A” your chart should work even without adding additional filters. Once you do this save your filter chart and it should work.

It seems that this will work if you have "filter_configs":[] in form_data but existing slices don’t have that param. I originally set this as a P1 but it could probably be a P2.

cc: @mistercrunch looks like an issue related to the filters change

1reaction
issue-label-bot[bot]commented, May 6, 2019

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

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filter Box cannot be used only with time range, shows error
When filter box is open in explore mode, then there is an error coming in the right hand side view. Then, add one...
Read more >
5 Reasons why your Excel filter may not be working
Check that a filter hasn't been left on another column. The best way to clear all of the filters is to click the...
Read more >
An error message when you sort a range that contains merged ...
General solution · Select the entire range you want to sort. · In the Alignment group on the Home tab, select the Alignment...
Read more >
How Slicers and Pivot Tables are Connected + Filter Controls ...
Solution #1: Disconnect the Slicers First ... The first method for getting around this error is to disconnect the slicers from the pivot...
Read more >
6 Common Google Data Studio Problems and How to Fix Them
You're getting the error message “Configuration Incomplete: Invalid Dimension, Metric or Filter selected”. The erroneous fields or filters show up in red in ......
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