Translation:The ducks do not swim when the pool has no water.
I am German, and when I translate the second part word by word into German without changing anything: "... wenn das Schwimmbecken kein Wasser hat." it is perfect. Nonetheless, the Danish sentence confused me, since I haven't seen such a word order before in Danish sentences here on Duolingo.
I just started reading some books in anish, and every once in a while they invert the order of the words, away from all inversion rules.
Thus, my understanding is that your suggestion is correct, and it would be the simple way of writing. However this rearrangement is also fine.