Number of days can be changed to suit needs. Created this metric to narrow down results from the 'Privileged User with Stale Password' metric built into Liongard
Users[?MemberOfStr.contains(@,
Domain Admins
) && DaysSinceLastPasswordChange >
365
].DisplayName