How to Move Before Case 1

One way to move and insert the values of a case or block of cases before case 1 is to use the drag-and-drop facilities in Statistica. To do this, first highlight the desired block. Then, move the cursor to one of the borders of the block where it changes into an arrow. Now, to move and insert the block, press SHIFT while dragging the block. Next, position the insertion bar between the variable names and the first row of the spreadsheet and release the mouse button. Note that this method does not move the selected cases (that is, the case names are not moved) but only the values of the selected block.

In order to move the entire case or block of cases before case 1, use the Move option [accessible by selecting the Data tab; in the Cases group, click Cases and select Move (ribbon bar) or  by the toolbar button (classic menus)] and enter case 0 (zero) in the Insert after field in the Move Cases dialog box. Not only are the values of the selected block moved, but also the case names. See also: Moving Cases.