• 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
        • Workday Adaptive Planning Training
        • IBM Planning Analytics / TM1 Training
    • Products
      • DataMaestro
      • LightSpeed
      • IBM Planning Analytics Utilities
  • How We Help
    • Use Cases
    • Client Success Stories
  • How We Think
    • Knowledge Center
    • Events
    • News
  • Contact Us

IBM Planning Analytics Tips & Tricks

IBM Planning Analytics Tips & Tricks: Cellput vs CellIncrement

 

Tips & Tricks

August 27, 2019

By Lee Lazarow

Did you know one of the most popular uses of TurboIntegrator is to load data into a cube? There are many different commands that can be used to load data depending on whether the data consists of numbers, strings or attributes.

When loading numeric data, there are two approaches that can be followed. 

  • One approach is to load the value from the record into Planning Analytics using the CellPutN command. This approach will overwrite any existing data in the cube.
  • One approach is to accumulate the value from the record with any existing data in the cube.

The purpose of this write up is to discuss how to accumulate data in a Planning Analytics cube. 

There are two approaches to accumulating data. The first approach is to get the data that is already in the cube, add that value to the value from the record, and then reload the total into TM1. Here is an example of this using a cube called ‘Finance’:

numExisting = CELLGETN ( ‘Finance’, vVersion, vPeriod, ‘Amount’);
numTotal = numExisting + vValue;
CELLPUTN ( numTotal, ‘Finance’, vVersion, vPeriod, ‘Amount’);

This approach creates temporary variables to tell you the existing amount and the new total. The benefit to this approach is that you can easily do error checks if the results don’t reconcile to your expected results.  However, the disadvantage of this approach is that you had to write multiple lines of code to perform one function.

You can consolidate these lines by using a single command called CellIncrementN. The increment command increases the existing value by the value from the record. Here is an example of this using the same cube:

CELLINCREMENTN( vValue, ‘Finance’, vVersion, vPeriod, ‘Amount’);

If the data loads properly then we have shortened our script by only having to create one line of code. However, if the data did not load properly then we have done this at the expense of not being able to easily reconcile the pieces.

There are multiple commands that can be used to load data into a cube, each of which has its own pros and cons. 

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!

Learn more IBM Planning Analytics Tips & Tricks:

IBM Planning Analytics Tips & Tricks: Clearing all Data from a Cube

IBM Planning Analytics Tips & Tricks: IFERROR

IBM Planning Analytics Tips & Tricks: Rule Concepts That are Often Forgotten

Need more guidance? Take a look at our IBM Planning Analytics Training services and our Customer Care Program.

Author

  • Lee Lazarow

    View all posts
    • Categories

      • Accounting and Accounts Receivable
      • Awards & Recognition
      • Data Analytics in Finance
      • Financial Close & Consolidation
      • FP&A Done Right
      • IBM Planning Analytics Tips & Tricks
      • News & Events
      • Success Stories
      • Tech Bulletins
      • Workday Adaptive Planning Insights
      • Workday Adaptive Planning Tips & Tricks

    Popular Posts

    Authors

    Adam Riskin
    Adam Riskin
    Brian Colucci
    Brian Colucci
    Brian Combs
    Brian Combs
    Cameron Burke
    Cameron Burke
    Dave Miersch
    Dave Miersch
    Ivan Cepero
    Ivan Cepero
    John Pra Sisto
    John Pra Sisto
    Jonathan Dunn
    Jonathan Dunn
    Ken Wolf
    Ken Wolf
    Lee Lazarow
    Lee Lazarow
    Lisa Minneci
    Lisa Minneci
    Luke Griffie
    Luke Griffie
    Marc Assenza
    Marc Assenza
    Mary Luchs
    Mary Luchs
    Michael Mari
    Michael Mari
    Michelle Song
    Michelle Song
    Revelwood
    Revelwood
    Robert Nordhagen
    Robert Nordhagen
    Simon Foley
    Simon Foley
    Thomas McDade
    Thomas McDade

    Sign up for our newsletter

    Connect

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

World Headquarters

Florham Park, NJ | 201 984 3030

European Headquarters

London & Edinburgh | +44 (0)131 240 3866

Latin America Office

Miami, FL | 201 987 4198

Email
info@revelwood.com

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