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

Can not use Math aggregation with Percentile Rank #131901

Closed
shoulian-zhao opened this issue May 10, 2022 · 1 comment · Fixed by #132003
Closed

Can not use Math aggregation with Percentile Rank #131901

shoulian-zhao opened this issue May 10, 2022 · 1 comment · Fixed by #132003
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:TSVB TSVB (Time Series Visual Builder) impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@shoulian-zhao
Copy link

Kibana version: 8.2, 7.10, 7.9

Elasticsearch version: 8.2

Server OS version: Mac OS 11.6.5

Browser version: Safari 15.4

Browser OS version:

Original install method (e.g. download page, yum, from source, etc.): On-Prem & ESS

Describe the bug:
In Kibana, it is supported to add Math aggregation as the last one under Count or Percentile or Average etc.
image

But when choosing Percentile Rank, it shows - or 0 in the older version

Steps to reproduce:

  1. Create a deployment and import the sample data like kibana_sample_data_flights
  2. Create a TSVB under Visualize Library and then switch to Gauge (others should be able to reproduce too)
  3. It shows - under Math

Expected behavior:
It should show the correct number of the Percentile Rank

Screenshots (if relevant):
image

Errors in browser console (if relevant):

Provide logs and/or server output (if relevant):
If I check the Developer tools, it returned null.

{
    "type": "gauge",
    "uiRestrictions": {
        "whiteListedMetrics": {
            "*": true
        },
        "whiteListedGroupByFields": {
            "*": true
        },
        "whiteListedTimerangeModes": {
            "*": true
        }
    },
    "d889173b-a04d-48e9-a7fd-63ffdc153d2f": {
        "annotations": null,
        "id": "d889173b-a04d-48e9-a7fd-63ffdc153d2f",
        "series": [
            {
                "id": "7eb36567-d327-420e-81a5-c20a78c6861d",
                "label": "Math",
                "color": "rgb(104, 188, 0)",
                "data": [
                    [
                        1643673600000,
                        null
                    ]
                ],
                "seriesId": "7eb36567-d327-420e-81a5-c20a78c6861d",
                "stack": "none",
                "lines": {
                    "show": true,
                    "fill": 0.5,
                    "lineWidth": 1,
                    "steps": false
                },
                "points": {
                    "show": true,
                    "radius": 1,
                    "lineWidth": 1
                },
                "bars": {
                    "show": false,
                    "fill": 0.5,
                    "lineWidth": 1
                }
            }
        ]
    }
}

Any additional context:

@shoulian-zhao shoulian-zhao added the bug Fixes for quality problems that affect the customer experience label May 10, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label May 10, 2022
@stratoula stratoula added Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure labels May 10, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors)

@botelastic botelastic bot removed the needs-team Issues missing a team label label May 10, 2022
@stratoula stratoula added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label May 10, 2022
@flash1293 flash1293 self-assigned this May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:TSVB TSVB (Time Series Visual Builder) impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants