Scripted Fields in TSVB

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

2.11.0

Describe the issue:

I can’t access scripted fields in TSVB visualization.
I need to perform aggregation calculation like sum(scripted_field_1) / sum(scripted_field_2).
I assume that these kind of performance was done only in TSVB.
Please help me to solve this.
Thanks.

Configuration:

Relevant Logs or Screenshots: