Lesson: Preserving Formulas When Retrieving Data

In Retrieving Data into Formatted Worksheets, you used the Retain on Retrieval option to preserve formatting and formulas in a worksheet. This topic shows you how to create a report using Formula Preservation options.

  To preserve formulas when retrieving or retaining data:

  1. Select File, and then New or click New Worksheet icon.

  2. Select Essbase, and then Retrieve.

  3. In cell A2, drill down (double-click) on Year.

  4. Press Alt and, in cell E1, drill down (double-click) on Scenario.

  5. Select cell G3 and enter this formula in the cell: =B3/B$7*100

    The $ in front of the 7 anchors the formula to the Year member.

    Entering a formula in a cell.
  6. Press Enter.

    The spreadsheet calculates the formula that you entered in cell G3 and now reflects Qtr1 as a percentage of Year.

    Result of calculated formula with Essbase data.
  7. Select Essbase, and then Options.

  8. In Mode, under Formula Preservation, select Retain on Retrieval and Retain on Keep and Remove Only, and then click OK.

  9. In cells D2, E2, and F2, respectively, select Variance, %Variance, and Scenario.

  10. Select Essbase, and then Remove Only.

    Essbase removes the selected columns but retains the formula that you entered, keeping it with the retained dataset.

    Result of removing columns with Retain on Keep and Remove Only selected.
  11. Select Essbase, and then Options.

  12. In Mode, under Formula Preservation, select Retain on Zooms, and then click OK.

  13. In cell A3, drill down (double-click) on Qtr1.

    Essbase drills down on Qtr1 and moves the formula down with the Qtr1 member.

    Result of drilling down with Retain on Zoom enables.
  14. Select Essbase, and then FlashBack.

  15. Select Essbase, and then Options.

  16. In Mode, under Formula Preservation, select the Formula Fill , and then click OK.

  17. In cell A3, drill down (double-click) on Qtr1.

    Essbase drills down on Qtr1 and replicates the formula for each member of Qtr1 (Jan, Feb, and Mar). To view the replicated formulas, click in cells D3, D4, D5, and D6 and examine the syntax in the spreadsheet formula bar.

    Result of drilling down with Formula Fill enabled.
  18. Before moving on with the tutorial, complete each of these tasks:

    1. Select Essbase, and then Options.

    2. In Mode, clear all Formula Preservation options.

    3. Select File, and then Close.

      Do not save the worksheet.

User Reference

Preserving Formulas when Retrieving Data