创建charts时, 是否可以设置多个搜索框? #29972
Unanswered
weidongweidong
asked this question in
Q&A / Help
Replies: 1 comment
-
|
Hey @weidongweidong! I'm here to help you with any bugs, questions, or contributions you have. Let me know how I can assist you! 是的,在创建charts时,可以设置多个搜索框,并在搜索框动态筛选日期。 在提供的YAML配置文件中, 例如,以下是一个示例配置,展示了如何设置两个日期筛选框: adhoc_filters:
- clause: WHERE
subject: order_date
operator: TEMPORAL_RANGE
comparator: No filter
expressionType: SIMPLE
- clause: WHERE
subject: another_date_field
operator: TEMPORAL_RANGE
comparator: No filter
expressionType: SIMPLE通过这种方式,你可以在图表中添加多个日期筛选框,并动态筛选日期[[1]](https://github.com/apache/superset/blob/master/superset/examples/configs/charts/Featured Charts/Mixed.yaml)。 不过需要注意的是,当前实现中只有第一个 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
创建charts时, 是否可以设置多个搜索框? 目前来看只能在query - filters 中限定日期区间, 但是我想在搜索框动态的筛选日期, 这样可以么 ?
Beta Was this translation helpful? Give feedback.
All reactions