How to show Y axis in percentage instead of count in vertical bar chart

Hi,

I am using a vertical bar chart for data visualization. I want percentage instead of count in Y-axis.
I checked multiple options but was unable to get through it,

Viz Pic-

What exactly do you mean by percentage here? If it's the percentage of each bar of the total of all bars, then Lens formula is probably the right tool. See Create visualizations with Lens | Kibana Guide [7.15] | Elastic under "Percent of total example"

HI @flash1293 ,
Thanks for the reply.

What exactly do you mean by percentage here?
I need to get the percentage of delivered messages out of total messages for each bar on Y axis and the count of total messages on each bar.

Snap-

image

It seems like the link I posted above should help with this - Lens formula is flexible in the types of calculations in can perform.