Can't Select $san As Panel Title

I am currently trying to get the $san column as my variable in the panel for x509 certs. I know the san value is in Influx, however, I can’t just do a select on san alone in the measurements. It has to be accompanied by expiry before it will show data. How can I fix this?

select san from x509_cert limit 1
select expiry, san from x509_cert limit 1
name: x509_cert
time expiry san

1676298801000000000 29150797 *,