Dashboard variables in loki query

I have a dashboard variable listing service names, I want to use dashboard variable value to filter loki query

You can use $variableName in the loki query, where variableName the name is of your dashboard variable.