Dust was swirling in the wind.

Literal

Wind [cause-で] dust [subject-が] dancing was.

ほこりが舞っていた — 舞う means 'to dance/swirl.' The image of dust dancing in the wind is vivid. で marks the wind as the cause.