Custom ratio support in analysis