Advanced Calculations in PivotXL

In the world of data analysis, efficiency and precision are crucial for extracting meaningful insights. PivotXL custom formulas for dynamic and scalable data calculations enhance users’ ability to process data efficiently. These formulas allow for dynamic and scalable data calculations, ensuring accuracy across multiple datasets.

PivotXL offers two robust methods for implementing custom formulas in dynamic and scalable data calculations: Calculation and Group Calculation. Furthermore, whether you are performing individual computations or automating multiple operations within grouped data, PivotXL custom formulas simplify the process, ensuring efficiency and accuracy.

Understanding PivotXL Custom Formulas

The PivotXL custom formulas for dynamic and scalable data calculations allow users to create advanced computations that adapt to changing datasets. These formulas can be applied to individual cells, entire columns, or grouped data structures, enabling seamless automation.


Calculation: Achieving Precision at the Data Level

What is Calculation in PivotXL?

With Calculation, you can define formulas that generate results for specific data points, seamlessly integrating them into your cubes.

How to Set Up a Calculation in PivotXL

How to Set Up a Calculation in PivotXL
  1. Open the PivotXL web application, go to the left-side menu, and click on the Data option to access data-related features.
  2. In the Data sub-menu, click on Calculations to open the calculations page.
  3. The calculations page will display the message “Please add a calculation” and a button on the right side.
  4. Click the Add Calculation button to start defining custom formulas and calculations for your data.
How to Set Up a Calculation in PivotXL
  1. Open the pop-up window and prepare to enter a new calculation by filling in the “Calculation Name” field.
  2. Once you’ve entered a descriptive calculation name, click the “Add Calculation” button to save it, or hit “Cancel” if you choose not to proceed with the creation.
How to Set Up a Calculation in PivotXL
  1. The calculation appears in the list. Click on its name to display options for making the calculation, such as adding cells, formulas, and cell-result maps.
  2. If no elements have been added, a message will display indicating that nothing has been added yet.
  3. To modify the calculation name, click on the edit icon and update the name as needed.
  4. To delete a calculation, click the delete icon. This will permanently remove the calculation from the list.
  5. Begin by adding cells for your calculation. Click the button to add a cell and start building your calculation.

Mapping Data to a Calculation

Mapping Data to a Calculation
  1. Each cell name is automatically generated using English alphabets, making it easier to organize and identify cells.
  2. Choose the cube needed for your calculation, and the system will fetch the relevant dimension details based on your selection.
  3. Select a dimension member to map the cube combination to this cell. For example, in the “Measure” dimension, you might choose the “Amount” member.
  4. Similarly, select a member from another dimension, such as “Accounts,” and choose a member like “Revenue (Group)” to map the combination.
  5. Continue mapping other dimensions, such as “Locations” with the member “MA,” to refine your cube combination in the cell.
  6. Choose a member from the “Scenario” dimension, such as “Actuals,” to complete the mapping of the cube combination for the cell.
  7. Select the Time Type for your map combination, and choose between options like Fixed Time, Relative Time, Fiscal Year, or School Year. Also, select the appropriate Month and Year.
  8. Review the map configuration details to ensure accuracy. To complete the mapping, click the “Add Cell” button to save the combination in the cell.
How to Set Up a Calculation in PivotXL
  1. The available cell details for the calculation are displayed, providing a comprehensive overview of the cells involved.
  2. The created cell “A” will appear in the available cells list. Click on the cell to view or modify its mappings as needed.
  3. The formula associated with the calculation is displayed here. Once created, the formula will appear for easy reference.
  4. An easy-to-use reference guide is available to help you navigate and understand the calculation process.
  5. You can add multiple cells to your calculation by clicking the button. Create as many cells as needed for your calculation.

Mapping Data to a Calculation

Mapping Data to a Calculation
  1. The cell map pop-up opens, with the cell name automatically generated. Select the cube and all relevant dimension members to map the cell.
  2. Select the preferred Time Type for your map combination to ensure accurate mapping of the cell.
  3. Review the mapping details and click the “Add Cell” button to save the mapping within this cell.
How to Set Up a Calculation in PivotXL
  1. The newly created cell “B” appears next to cell “A” in the available cells list. Click on it to view or modify its mappings.
  2. Click the button to add a formula, which will open a new pop-up for configuration.
  3. This cell is designed to store the calculation result. A message will indicate if the cell has not been mapped yet.
  4. To map the result cell, click the button to proceed. A new pop-up will appear for configuring the result mapping.

Creating and Applying Formulas

How to Set Up a Calculation in PivotXL
  1. The pop-up allows you to input a formula for the calculation. Use operators to define relationships between cells. Refer to the guide for structuring the formula correctly.
  2. Verify the formula details and click the “Add Formula” button to save it.

Mapping Data to a Calculation

How to Set Up a Calculation in PivotXL
  1. The result cell is automatically named “RESULT”, making it easy to identify and locate the calculation outcome.
  2. Choose the cube where the calculation will be stored. The system will retrieve relevant dimension details based on your selection.
  3. Select a dimension member to link the cube combination to the result cell. For example, in the “Measure” dimension, choose the “Amount” member.
  4. Select a member from another dimension, such as “Accounts,” and map it to a relevant member like “Profit & Loss Accounts” in the result cell.
  5. Continue refining the mapping by selecting dimensions like “Locations” and choosing a member such as “MA.”
  6. Choose a member from the “Scenario” dimension, such as “Actuals,” to finalize the cube combination mapping.
  7. Choose the appropriate Time Type (e.g., Fixed Time or Relative Time) and specify the Month and Year for the mapping.
  8. Verify the mapping details for accuracy. Click the “Add Cell” button to save the mapped combination in the result cell.
How to Set Up a Calculation in PivotXL
  1. The newly created formula is displayed in the formula description for easy reference.
  2. The message updates to “RESULT”, indicating that the calculation is ready.
  3. Click to execute the calculation. It processes based on the defined formula between the cells.
How to Set Up a Calculation in PivotXL
  1. Cells display calculated values, with the corresponding formula shown beneath them for easy reference. Click on a cell value to view its mapping details.

Multiple Calculations: Managing Complex Computations

For large-scale data computations, PivotXL enables users to create multiple calculations within a single workspace.

Steps to Add Multiple Calculations

Multiple Calculations: Managing Complex Computations

1.Click the button to create and add a new calculation.

2.The newly created calculation appears below the previous one. Click its name to access options for configuration. Edit the name using the right-side edit icon or delete the calculation by clicking the delete icon, which prompts a confirmation pop-up.

Mapping Data to a Calculation

Multiple Calculations: Managing Complex Computations
Multiple Calculations: Managing Complex Computations
Multiple Calculations: Managing Complex Computations
Multiple Calculations: Managing Complex Computations
  1. Each cell name is automatically generated using English alphabets when a new cell is added to a calculation. Select the cube and relevant dimension members to map each cell.
  2. Select the preferred Time Type to ensure accurate mapping for each cell.
  3. Verify the mapping details and click the “Add Cell” button to save the configuration for each cell.

3.Click the button to add cells. A total of four cells (A, B, C, D) need to be created for the calculation.

4.Click the button to define and add a formula for the calculation.

Creating and Applying Formulas

Multiple Calculations: Managing Complex Computations
  1. The pop-up allows you to input a formula for the calculation. Use operators to define relationships between cells. Refer to the guide in the Available Cells section for the proper formula structure. You can apply formulas to the required cells, e.g., A + C or D – A.
  2. Verify the formula details and click the “Add Formula” button to save it.

5.Click the button to map the result value and store it in the result cell based on the preferred combination.

Multiple Calculations: Managing Complex Computations
  1. The result cell is automatically named “RESULT”, making it easy to identify and locate the calculation outcome. Select the cube and relevant dimension members to map the result cell.
  2. Select the preferred Time Type to ensure accurate mapping for the result cell.
  3. Verify the mapping details and click the “Add Cell” button to save the configuration for the result cell.

6.The available cells “A,” “B,” “C,” “D” are displayed in the available cells section. The created formula is also shown for reference.

7.Verify the cell mapping details and click the “Run Calculation” button. The results will be updated in the result cell within the cube combination.

Multiple Calculations: Managing Complex Computations

1.The cell values are updated, and the result cell stores the calculated value based on the formula.


Group Calculation: Automating Batch Processing for Efficiency

What is Group Calculation?

Group-Calculation simplifies large-scale computations by organizing multiple calculations into structured groups. Users can create groups, add existing calculations, and execute them efficiently in a single step. This approach enhances productivity by eliminating repetitive manual operations and ensuring consistency across multiple data points.

Setting Up a Group Calculation in PivotXL

Group Calculation: Automating Batch Processing for Efficiency
  1. In PivotXL, go to the Data menu and select the Calculation submenu. Click the Tab Group-Calculation. If no group calculation has been created, an empty message will appear: “Please add a calculation.”
  2. Click the button to add a group calculation, opening a new pop-up window.
Group Calculation: Automating Batch Processing for Efficiency
  1. In the pop-up, enter the name of the group calculation.
  2. Click the button to add the group calculation. If you don’t want to create it, click the Cancel button.
Group Calculation: Automating Batch Processing for Efficiency
  1. Once created, the group calculation appears. Click its name to access options below, including two buttons.
  2. To change the name of the group calculation, click the edit icon.
  3. To delete the group calculation, click the delete icon. A confirmation pop-up will appear.
  4. Click the button to add existing calculations to the group.

Adding Calculations to a Group

Group Calculation: Automating Batch Processing for Efficiency
Group Calculation: Automating Batch Processing for Efficiency
  1. A new pop-up appears with a list of existing calculations.
  2. Click the plus icon next to the desired calculation. Use the search bar to easily find specific calculations.
  3. Once a calculation is selected, its color changes to green, indicating it’s selected.
  4. The section shows a list of selected calculations, including a count of how many have been added.
  5. To unselect a calculation, click the delete icon next to it, removing it from the list.
  6. Review the added calculations and click the Save button to update the group with the selected calculations.

Group Calculation: Automating Batch Processing for Efficiency
  1. The added calculations will be displayed in the group. They are view-only, but can easily be deleted using the delete icon next to each calculation.
  2. To execute the group calculation, click the Run button. Each calculation will update the result in the mapped cube combination within the group.

Benefits of Using PivotXL for Data Calculations

1. Improved Accuracy & Precision

By mapping dimensions and time types accurately, PivotXL minimizes errors and ensures reliable results.

2. Streamlined Workflow & Efficiency

Group calculations eliminate redundant manual work, enabling faster processing of large datasets.

3. Scalable Data Management

Users can handle multiple calculations and batch processing without complexity, making PivotXL ideal for businesses dealing with vast amounts of data.

Final Thoughts

PivotXL empowers data analysts with powerful calculation tools that enhance precision and automate large-scale computations. Whether working with individual calculations or batch processing with group calculations, PivotXL provides an efficient solution for data-driven decision-making.

By following the structured approach outlined above, users can optimize their data calculations, improve accuracy, and save time—ensuring seamless and efficient data analysis.