Blog / Series

Adventures in Groovy

Fifty four parts written between 2017 and 2023. Start at part one, or jump to the problem you actually have.

Part 01

My Adventures in Groovy Calculations – Part 1

What Is Groovy Recently, Groovy scripting was added to ePBCS business rules as an option instead of the GUI, or the go-to scripting…

2017-08-08

Part 02

Data Validation

We all know the Data Form validation rules are serviceable, but they are not robust. When Smart View advanced and forms were opened in…

2017-09-09

Part 03

Acting On Edited Cells

With the introduction of Groovy Calculations this summer, one of the things I use most, especially for applications with data forms…

2017-12-21

Part 04

Run Time Prompts

Groovy provides a very easy way to interact with the user via run time prompts, or RTPs. These can be linked to dimensions, members…

2018-01-03

Part 05

Accessing Substitution Variables

Accessing Substitution Variables is critical in most calculations, and accessing them in Groovy is a little more complex than it needs…

2018-01-11

Part 06

Converting a POV into a Fix

One of the fundamental features of a Groovy calculation is the ability to dynamically grab aspects of a grid, and getting the POV is…

2018-01-17

Part 07

Validating Run Time Prompts

When developing applications in PBCS, there are times when we need to request information from users. This is especially useful in…

2018-01-25

Part 08

Customizing Data Maps and Smart Pushes

Groovy has the ability to execute Data Maps and Smart Pushes. Data Maps are objects that define the data movement between applications…

2018-02-12

Part 09

Ohio Valley OAUG Presentation

I was lucky enough to be invited to talk about the new Groovy Calculation in PBCS and ePBCS at the Ohio Valley OAUG meeting today. If…

2018-02-16

Part 10

Validating Form Data

One of the huge frustrations I have with Planning is the fact that you haven’t been able to stop a user from saving data that didn’t…

2018-02-28

Part 11

Accessing Metadata Properties

Groovy opens up a lot of things above and beyond performance improvements and improving the user experience. One example is the…

2018-03-05

Part 12

Learning and Testing Groovy Outside of PBCS

For people that are new to Groovy/Java, testing functions that Groovy provides can be a tedious and time consuming process. Learning…

2018-03-14

Part 13

Returning Errors (Data Forms)

One of the huge benefits that available in Groovy Calculations is the ability to interact with a user, validate data, and act on the…

2018-03-19

Part 14

Returning Errors (Form Cells)

To expand on Part 13 of this series, which covers stopping a form from saving when there are validation errors, is identifying the…

2018-03-28

Part 15

Returning Errors (RTP Edition)

One of the huge benefits that available in Groovy Calculations is the ability to interact with a user, validate data, and act on the…

2018-04-02

Part 16

Ignore Form Save When No Data Has Been Edited

I know you can argue this is a user issue and a training issue, but the fact is, sometimes people will save a form without editing any…

2018-04-07

Part 17

Force Cell Comments

Challenge Accepted When I asked visitors to try to come up with a situation that Groovy Calculation might be able to solve, this was a…

2018-04-11

Part 18

Real Time Data Movement (Setting The Stage)

One of the challenges with Hyperion Planning is the ability to move data between applications in real time. A classic example of this…

2018-04-16

Part 19

Real Time Reporting Webinar with Breakthru Beverage Group

Chris Hull has been kind enough to partner with us to present how the methods available in Groovy calculations have made a huge impact…

2018-04-20

Part 20

Groovy On-Premise vs. Groovy Cloud

Yes, it is true that Groovy is available in on-premise and cloud (PBCS) versions of Hyperion Planning. No, it is not true that the…

2018-04-21

Part 21

Real Time Data Movement (Getting REALLY Groovy)

Before we jump in, there are a number of questions you are going to have at the conclusion of this article. Please post comments and I…

2018-04-29

Part 22

Looping Through Member Descendants

There are a lot of reasons one might loop through children in a Groovy Calculation. On my journeys with Groovy, I have run into a few…

2018-05-03

Part 23

Disney Style

KScope has concluded, and what a fantastic week it was. I love the years I get the feedback that I have an abstract selected so I can…

2018-06-15

Part 24

Don’t Be Stingy With Reusable Code

Now that you are knee deep in Groovy, help yourself out and reuse common code. The more you learn, the more efficient you will be and…

2018-06-22

Part 25

Groovy Functions

Building on the previous post and in the spirit of reusing code, this will expand on the concept by walking through the creation and…

2018-06-28

Part 26

Is the POV a level 0 member?

One of the more surprisingly useful things that can be done in a Groovy calculation is querying metadata. This was discussed in Part…

2018-07-02

Part 27

Understanding Collections

Because so many methods in PBCS require parameters that are maps and lists, it is very important to your productivity and…

2018-07-11

Part 28

The DataGridBuilders

Gridbuilders are the link to moving data from BSO to ASO, and ASO to ASO. Gridbuilders can also be used to save calculated results…

2018-07-17

Part 30

Dynamically Identify Actionable Months

Almost every ePBCS application will require the need to run business logic and execute data movements on specific months based on a…

2018-08-16

Part 31

Benefits of Running Logic in Groovy (Bypass Essbase)

Say what? An application where no calculations are performed with the Essbase calculation engine? Business logic, currency, and every…

2018-10-17

Part 32

Require Explanations When Data Is Outside Acceptable Ranges

Groovy offers creative ways to force data into acceptable ranges. But, what happens when there is an acceptable reason for abnormal…

2018-10-28

Part 33

Mapping Members Between Plan Types

Groovy collections are used all throughout the ePBCS API. If you are not familiar with collections, you may want to take a look at…

2018-11-04

Part 34

Getting Started With Groovy in ePBCS, Implementation Methods, an ODTUG Webinar

I was fortunate enough to speak for ODTUG a few weeks ago and really excited that my discussions around Groovy are getting some of the…

2018-11-12

Part 35

Error Trapping Groovy Calculations

There has not been alot of troubleshooting discussed in the adventures series. Just like with most coding languages, you can…

2018-11-25

Part 36

Manipulating Dates

Manipulating dates is not something you may think is that useful, but there are a number of things that we have done in the past that…

2018-12-03

Part 37

Improving The User Experience With AutoFill

To date, we have talked about the performance improvements Groovy introduces, as well as the creative validation we can add. One thing…

2018-12-10

Part 38

Challenge Accepted (Exporting Data With The System Date In The Filename)

I had a great question today so challenge accepted! A reader asked if it was possible to run a data export and have the system date in…

2019-01-16

Part 39

First Common Parent

I can’t tell you how many times I have been at a client and they wanted to replicate eliminations at the first common parent like HFM…

2019-01-24

Part 40

Eliminating Data Sources With The Groovy Calendar Class

I am currently working on a migration of on-premise to cloud project (going GREAT by the way). One of the things we are working on is…

2019-04-06

Part 41

RTP Interpretation Modes

Have you ever used a variable and received this error? Error: Unable to retrieve variable [variable name] deployed in the application…

2019-04-21

Part 42

Using Scenario Start and End Periods Through Metadata Queries Provides Awesome Functionality

Identifying the months to calculate plan and forecast has always been a delicate balance between performance and maintenance. Having a…

2019-06-18

Part 43

Sending Proactive Emails In A Calculation

If you haven’t heard, we now have the ability to execute REST API within a calculation script. Not only does that mean we can interact…

2019-07-26

Part 44

Don’t Waste User Time and System Resources

Data forms that have rules on them run when a user saves a form, regardless of whether the form has edited data. Sometimes this is by…

2019-10-07

Part 45

Locking Cells On Load

Often times, there is a need to lock cells from a user outside of the traditional dimensional security methods. Maybe you don’t want…

2019-10-11

Part 46

Start Making Rules More Reusable, Part 1

One thing that I have spent a lot of time on is making calculations independent of forms so that they can be used on any form. For…

2019-10-16

Part 47

Real World Wins, Part 1

A specialty chemical products company created an ASO reporting cube in ePBCS. This application housed detailed data that rolled up to…

2019-10-18

Part 48

KScope18 Presentations

With Kscope19 quickly approaching, I wanted to remind you of the presentations from KScope18. It was a great week and I hope to build…

2019-12-06

Part 49

Unable To Retrieve Variable Deployed In Application

Have you ever gotten an error that reads, “Unable to retrieve variable variable name deployed in application?” When you look at the…

2019-12-22

Part 50

Incredibly Awesome New Methods

Oracle has recently added 2 fantastic new methods that significantly improve our ability to minimize our scripts and reduce the effort…

2020-03-31

Part 51

Dynamically Changing Storage Properties When Using Hybrid

With hybrid being used more and more there is a need to manage the storage methods of different levels of sparse dimensions.  Whether…

2020-07-06

Part 52

And You Thought Essbase Only Stored Numbers

My 20+ years of using Essbase I was told, and had no reason not to believe, only stored numbers. We obviously have lists and with…

2020-07-23

Part 54

Collections Are Your Best Friend

I received a number of questions when I attended KScope. A lot of people had a tough time wrapping their head around the fact that…

2023-07-28

Fifty four parts, written between 2017 and 2023. If you want the technique rather than the story, the course covers the same ground in order.

See the Groovy courseBrowse the whole archive