Canvas Issue - math

Hey! I don't know if someone got this issue or knows how to help:

I am doing a SQL query which is working fine:
// SELECT COUNT(DISTINCT "idVisit") FROM "test"

but when displaying an error appears
image
"Whoops! Expression failed with the message:
[math] > Unknown variable: country"

I don't know why this error appears (country is another variable in the dataset, but not one I'm interested in showing now) since this is not a variable I'm using in the SQL query.

Any help is appreciated!
Paula

You need to remove and add the Measure property. It's easier to understand if you enable the Expression editor.

Peek 2022-03-10 16-52

I think this is a regression I will open an issue to confirm with my colleagues.

1 Like

Reported at Canvas: measure value not updating when changing from demo data · Issue #127482 · elastic/kibana · GitHub

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.