If/else condition in mongodb redash #7311
Unanswered
garima-m-g
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I require to use multi select option in filters via mongo db query.
current query

{
"$match": {
"lead_source": { "$in": [{{ lead source }}] }
}
required:
if not lead source selected in the filter, then select all.
Beta Was this translation helpful? Give feedback.
All reactions