Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Filter by this date" drill-through on Trend charts causes an error #46168

Open
alexyarosh opened this issue Jul 25, 2024 · 0 comments
Open

"Filter by this date" drill-through on Trend charts causes an error #46168

alexyarosh opened this issue Jul 25, 2024 · 0 comments
Labels
.Backend Priority:P2 Average run of the mill bug Querying/Drill Thrus Refining existing queries with Drill Thrus Querying/MBQL .Team/Querying Type:Bug Product defects

Comments

@alexyarosh
Copy link
Contributor

Describe the bug

Using "Filter by this date" drill through option on any trend chart will cause an error:
image

Seems like it's filtering on the date column but passing the value from trend chart (instead of passing the date).

Happens since v49.0.

To Reproduce

  1. Create a GUI question "Count of Orders by Created At"
  2. Switch to Trend chart
  3. Click on the big number
  4. Select "Filter by this date" -> "On"

Expected behavior

Not an error

(But to be honest I'm not sure what the actual end result is supposed to be)

Logs

No response

Information about your Metabase installation

{
  "browser-info": {
    "language": "en-US",
    "platform": "MacIntel",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0",
    "vendor": ""
  },
  "system-info": {
    "file.encoding": "UTF-8",
    "java.runtime.name": "OpenJDK Runtime Environment",
    "java.runtime.version": "11.0.24 8",
    "java.vendor": "Eclipse Adoptium",
    "java.vendor.url": "https://adoptium.net/",
    "java.version": "11.0.24",
    "java.vm.name": "OpenJDK 64-Bit Server VM",
    "java.vm.version": "11.0.24 8",
    "os.name": "Linux",
    "os.version": "6.6.12-linuxkit",
    "user.language": "en",
    "user.timezone": "GMT"
  },
  "metabase-info": {
    "databases": [
      "h2",
      "postgres"
    ],
    "hosting-env": "unknown",
    "application-database": "postgres",
    "application-database-details": {
      "database": {
        "name": "PostgreSQL",
        "version": "16.1 (Debian 16.1-1.pgdg120 1)"
      },
      "jdbc-driver": {
        "name": "PostgreSQL JDBC Driver",
        "version": "42.7.3"
      }
    },
    "run-mode": "prod",
    "plan-alias": "enterprise-self-hosted",
    "version": {
      "date": "2024-07-25",
      "tag": "v1.50.16",
      "hash": "28de9df"
    },
    "settings": {
      "report-timezone": null
    }
  }
}

Severity

Annoying

Additional context

Metabase.-.25.July.2024.mp4
@ranquild ranquild added the Querying/Drill Thrus Refining existing queries with Drill Thrus label Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.Backend Priority:P2 Average run of the mill bug Querying/Drill Thrus Refining existing queries with Drill Thrus Querying/MBQL .Team/Querying Type:Bug Product defects
Projects
None yet
Development

No branches or pull requests

3 participants