How to configure a Bar graph visualization to only display unique values of a field?

Hello there,

I know how to use an aggregation to query ES to display only unique values for a field, but I can't find how to do this in a Kibana "Bar Vertical" visualization:

I have found how to do it for a "Pie" visualization:

I'd like to do the same for "Bar Vertical" and "filter" on unique_count(distribution.instanceId).

If it helps, here's the dashboard: Elastic

Any idea?

Thanks a lot