I can't create this metric in my kibana dashboard

I want to create a metric that outputs the rounded value in red but i can't.
I try with various forms of formulas, but none worked.
The last one was this
sum(uc_pend / overall_sum(uc_pend) * dias)

Thks!