Need help optimising flow and Chart output

Thank you, zenofmud. That could work. I will play with and report back in a few.