Grafana - Elastics - transform data

I’m trying to create an internet bandwidth consumption panel per user for my application. I’m using Grafana v8.4, my data source is Elastic, and I’m receiving the data in bytes. I want to convert it to Mbps or Kbps in Grafana. I’m not sure how to do this within the Grafana panel. Can someone help me?