• Skip to main content
  • Skip to footer
Revelwood Logo

Revelwood

Your SUPER-powered WP Engine Site

  • Who We Are
    • About Us
      • Our Company
      • Our Team
      • Partners
    • Careers
      • Join Our Team
  • What We Do
    • Solutions
      • Workday Adaptive Planning
      • IBM Planning Analytics
      • BlackLine
    • Services
      • Implementation Services
      • Customer Care
        • Help Desk
        • System Administration as a Service
      • Training
        • Adaptive Planning Training
        • IBM Planning Analytics / TM1 Training
    • Products
      • DataMaestro
      • LightSpeed
      • IBM Planning Analytics Utilities
  • How We Help
    • Workday Adaptive Planning Use Cases
    • IBM Planning Analytics Use Cases
    • BlackLine Use Cases
    • Client Success Stories
  • How We Think
    • Knowledge Center
    • Events
    • News
  • Contact Us

IBM Planning Analytics for Excel

IBM Planning Analytics Tips & Tricks: DefineCalc

January 3, 2023 by Revelwood

IBM Planning Analytics for Excel (PAx) version 80 introduced a new function called “DefineCalc.” This function allows a user to create a custom calculation using TM1/Planning Analytics data via the use of MDX.

There are a series of parameters, and the key ones are:

  • sDataSource – The connection URL used when adding your connection to Pax.  You can enter “*”if you would like the calculation to apply to all data sources.
IBM Planning Analytics Tips: DefineCalc
  • sServerName = Your TM1/PA server name.  You can enter “*” if you would like the calculation to apply to all servers.
  • sCalcMUN = The name for the calculation.  This will be referenced in your DBRW formulas.
  • sExpression = The MDX expression being used for the calculation (note: if you would like to remove a custom calculation then set this variable to be blank).

One use case for this function is to grab the total value of a subset. In the example below, we have a report that uses a subset called “DefineCalc Example”:

IBM Planning Analytics Tips & Tricks: DefineCalc
IBM Planning Analytics Tricks: DefineCalc

The following DefineCalc formula was used to create a total:

IBM Planning Analytics Tips & Tricks: DefineCalc

Now, let’s break this apart by each parameter:

  • sDataSource – “*”
    • This will apply to all data sources (if multiple)
  • sServerName = “*”
    • This will apply to all TM1/PA servers (if multiple)
  • sCalcMUN = “[bpmAccount].[Example 1]”
    • This first half of this value defines the bpmAccount dimension
    • The second half of this value consists of a unique name within the bpmAccount dimension
  • sExpression = “AGGREGATE(TM1SubsetToSet([bpmAccount],’DefineCalc Example’))”
    • This is an MDX expression that will give the total of the “DefineCalc Example” subset within the bpmAccount dimension

The result of this formula is populated in the cell as “Example 1.”

IBM Planning Analytics Tips & Tricks: DefineCalc

We can now reference “Example 1” within the DBRW formula as an element in the bpmAccount dimension.

IBM Planning Analytics Tips & Tricks: DefineCalc

The =Sum formula of the three data rows matches the DBRW that references the DefineCalc function.

IBM Planning Analytics Tips & Tricks: DefineCalc

This shows one common use case for the new DefineCalc function, but the use MDX allows for countless other applications!

IBM Planning Analytics, which TM1 is the engine for, is full of new features and functionality. Not sure where to start? Our team here at Revelwood can help. Contact us for more information at info@revelwood.com. And stay tuned for more Planning Analytics Tips & Tricks weekly in our Knowledge Center and in upcoming newsletters!

Read more IBM Planning Analytics Tips & Tricks:

IBM Planning Analytics Tips & Tricks: MDX Syntax Explained

IBM Planning Analytics Tips & Tricks: Dynamic Subsets Based on a Cube

IBM Planning Analytics Tips & Tricks: TM1Ellist

Home » IBM Planning Analytics for Excel

Filed Under: IBM Planning Analytics Tips & Tricks Tagged With: Budgeting Planning & Forecasting, IBM Cognos TM1, IBM Planning Analytics, IBM Planning Analytics for Excel, PAx, Planning & Forecasting

Footer

Revelwood Overview

Revelwood helps finance organizations close, consolidate, plan, monitor and analyze business performance. As experts in solutions for the Office of Finance, we partner with best-in-breed software companies by applying best practices guidance and our pre-configured applications to help businesses achieve their full potential.

EXPERTISE

  • Workday Adaptive Planning
  • IBM Planning Analytics
  • BlackLine

ABOUT

  • Who We Are
  • What We Do
  • How We Help
  • How We Think
  • Privacy

CONNECT

Contact:

25B Vreeland Road, Suite 111 Florham Park, NJ 07932
201.984.3030
info@revelwood.com

Copyright © 2023 · Revelwood Inc. All rights reserved. Revelwood® and the Revelwood logo are registered marks of Revelwood Inc.