Disable metric based on template variable

Any updates here? I agree it would be great to have this capability. Similar post here: Is it possible to show/hide query based on template variable?