Multi-dimensional alert resampling leads to NaN

Hey dear community,
I use Grafana v9.5.1 and want to make use of multi-dimensional alerts. I face to problem that resampling my querry result leas to NaN values in the resulting time series. When I run the same logic for only one sensor resampling works. What is the problem here? How can I solve the issue?