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

[TSVB]support range query in filter ratio #63464

Closed
TomonoriSoejima opened this issue Apr 14, 2020 · 2 comments
Closed

[TSVB]support range query in filter ratio #63464

TomonoriSoejima opened this issue Apr 14, 2020 · 2 comments
Labels
Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@TomonoriSoejima
Copy link
Contributor

Describe the feature:

Originally I was trying to get a percentage for the data and trying to grab the percentage for conditions like OpenedDays >= 7 in Numerator but it was not really working

image

and after some research, I found this blog which implies that you need to use string field here.

https://www.elastic.co/blog/how-to-display-data-as-a-percentage-in-kibana-visualizations

Filter Ratio selects two sets of documents using query string syntax.
Describe a specific use case for the feature:

I suppose the fact that the range query is not supported per the information above, but it would be nice if we can get it to work in the future.

@lukasolson lukasolson added Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Apr 14, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@wylieconlon
Copy link
Contributor

This is not a bug, so I am closing. The filter ratio uses "query string syntax" which is the same as Lucene syntax. To build an open range query in Lucene, you use something like OpenedDays: [7 TO *]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

4 participants