Skip 1 result in a expr statement

I want to make an ‘filter’ (regular expression) in a targets / expr section in my json file.
example:

“expr”: “sum(jira_issue_update_count_total) by (username)”,

Within this statement I want to ‘filter’ the username admin

How can this be done.

Assuming you are using a prometheus datasource (from the query syntax) you can filter the username you do not want to appear

sum(jira_issue_update_count_total{username != "admin"}) by (username)

Thanks for your quick reply.
It is more easier than I thought.
It works fine for me.