How to use a tag for country lookup in geomap panel?

Example raw data:

example_count_metric{country="US", foo="a", bar="b"}
example_count_metric{country="UK", foo="x", bar="y"}

Query:

sum by (country) (production_count_calls_total_provider)

When using the above in a geomap panel, and using lookup location mode, the “lookup field” doesn’t show any option.

Welcome

What does the result of that summation query look like?

using sample csv data

country,value
US,22
UK, 13.3

image

This is how the table view looks.

Look at the first picture I attached above

I think that will solve it right?