A data transformation is a basic arithmetic operation applied to two variables.
The transformation toolbar, as shown below, will become available when at least two variables are on the graph.
Apply a basic arithmetic operation to two variables to create a new variable. You can then insert another variable to the graph to perform another transformation.
Perform Data Transformations
The following is an example of a data transformation.
Example
Subtracting the year-over-year change in CPI from the federal funds rate to calculate a real interest rate and then adding the growth in real GDP.
- Open PCU@USECON by doing one of the following:
- Apply a period-to-period percent change to PCU@USECON by doing one of the following:
- Add FFED@USECON
- Add a variable by doing one of the following:
- Click
from the Graph Settings toolbar
ALT + V
- Open FFED@USECON by doing one of the following:

- Subtract YRYR%(PCU@USECON) from FFED@USECON by doing one of the following:
- Add the GDPH@USECON series and apply a period to period percent change on it
Add a variable by doing one of the following:
- Click
from the Graph Settings toolbar
ALT + V
- Open GDPH@USECON by doing one of the following:
- Apply period-to-period percent change to GDPH@USECON by doing one of the following:

- Add yryr%(GDPH) to FFED-yryr%(PCU) by doing one of the following:
The transformation is complete.