Divide Sums with conditions an d group by

Hi @AClerk,
I recommend using a Filter Ratio in a TSVB visualization with a Filter Ratio aggregation. There's a great description of how to set this up in this discuss Q&A on computing and displaying a ratio. It's a slightly older post, and depending on the version of Kibana that you're running, you can also reference the guide in the docs.