Hello, I have to apply the following transformation on my dataset which consists of many columns (~30):

I have tried applying the following multi-row formula:
IF IsNull([Row-1:A]) and !IsNull([A]) THEN [A] ELSE NULL() ENDIF
but since it only applies to a single column it doesn't seem feasible to repeat for each column. Is there a way to do this in a more efficient way?