Label_values not iterating as expected in singlestat dashboard

Hi Folks,

First time posting here, so apologies if this is the wrong place (or an faq). I’ve been putting together various boards in grafana 5 (with prometheus behind it).

I’ve found, I can create template variables to auto generate an array of single stat panels, using the ‘For each value of’ option in a panel, which is all well and good.

However about half the time, I find that while the variables look ok in, and show a list of values when inspected in the panel settings. The panels themselves are not being generated and only the first item in the list appears to be used. I’ve tried as many things as I can see to figure out. I’m sure this must be something pretty obvious to those that know! (and probably in the docs too, just can’t seem to see it).

Thanks for all for any help on the above.