How to merge two custom variables?

Hi Team! Here a really basic task. There are two Grafana custom variables. First one contains first host list. Second one contains second host list. Is it possible to create a third custom variable, which merges first one and the second one? Thus, result will contain all hosts together in a single list. Please advice! Thank you.

1 Like

how are the two other variables generated? via query, if so what data source or manually?

Via queries from two different data sources.

@dmitrikalinin did you find any solution for this . i case if u know it pls let us know even how to do this