How to Get the Formula Editor

Briefly

Two basic methods: double-click in special areas or choose a menu command that invokes the formula editor itself. Often that menu command is in the contextual menu for the object you're using.

In order to…

How to get the formula editor

write a formula for an attribute

Click on the attribute name in a case table and choose Edit Formula from the Edit menu.

 

Having first used the Show Formulas command in the Display menu, double-click in the = box under the attribute name in a case table.

 

Right-click the name of the attribute (either in a case table or an inspector) and choose Edit Formula

 

Double-click the Formula column in the inspector - either in the case attribute pane or the measures pane.

write a filter

Double-click the filter area at the bottom of an object.

 

Activate the object and choose Add Filter from the Data menu.

define a measure or statistic

Go to the measures pane of the inspector and double-click in the Formula column.

plot a function.

Choose Plot Function from the Graph menu of a scatterplot or of a distribution such as a histogram.

plot a value

Choose Plot Value from the Graph menu of a univariate plot such as a box plot or histogram.