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

Unable to add filter for question created on MongoDB custom aggregation query #7442

madhurtewani opened this Issue Apr 25, 2018 · 1 comment


None yet
2 participants
Copy link

madhurtewani commented Apr 25, 2018


We are using Metabase v0.28.1 (fe0c411 release-0.28.1) hosted on Docker version 17.05.0-ce, build 89658be with MongoDB 3.2.19 on Ubuntu 16.04.

We have used the native methods provided by the Metabase to make questions and dashboards.
We have also used filters to fetch the data as per the need.

However for a few questions we have implemented custom aggregation queries on the MongoDB, where it required joining collections or looking up referred collections. We are able to get the results through these queries.

Coming to the issue, when we are trying to add filters to these custom-query questions, we are unable to do so.

The exact query is mentioned below.

        "customer ID":"$appUser._id",
        "customer name":"$appUser.fullName",
        "contact number": "$appUser.phoneNumber",
        "product": "$",

Couple of screenshots of the issue:
Above screenshot shows unable to select Created At for Date filter.

Above screenshot shows that the field Created At is set as category.

Please advise on how to go about this.


This comment has been minimized.

Copy link

salsakran commented May 2, 2018

we don't support native query templates with mongo at this time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment