Calculate ratio beetwin count and unique count

Hello,

I suppose this topic is related to you. Only with kibana seems impossible unfortunately, but transform may be a possible solution.