Is it possible to add threshold line on Lens in Kibana 7.6?

There is no metrics and axes option in Lens visualization.
Is it possible to add threshold line on Lens in Kibana 7.6?

Thank you.

any help pls?

Hi @mmk1995,

currently there is no way to add threshold lines in Lens, but it's a known feature request tracked here: https://github.com/elastic/kibana/issues/55265

There is a workaround for this which isn't nice but should work just fine - create a scripted field that always returns the same static number (the value of your threshold line). Then add a second metric of the min value of that scripted field to your visualization.

thanks for the workaround