Bar chart, group by field - Application insights

I actually found the solution in this other post:

Bar chart Grouped grafana 8 - Grafana - Grafana Labs Community Forums

I fixed it by projecting two “countif”