Empower IBM TM1/Planning Analytics Users with AI Generated Documentation

Recently, a user asked me for a detailed explanation of how a particular TM1 rule worked for one of our General Ledger accounts. He had two questions:

  1. how is this calculated?
  2. where else is this being referenced within the TM1 Rule?

For his first question, I told him to use the Trace Cell feature to help him understand the TM1 rule calculation, but since he's not a TM1 developer, he understandably found the content difficult to grasp:

Purposely blurred

Answering the second question required a simple text search for the Account within the TM1 Rule to identify where it was referenced, but this process was tedious and time-consuming.

I set out to provide users with easy access to the answers to these two key questions. By leveraging the TM1 REST API and optimizing prompts for the ChatGPT API, I automated a process generating this information and storing it as text in a dedicated cube. This data is then easily accessible through a TM1 Drill-through process, streamlining the user experience. Additionally, other AI APIs can be used to achieve the same results, offering flexibility in how this solution can be implemented.

Users can use this Drill-through process to see a friendly explanation of the calculation

Here are examples of clear and user-friendly explanations the Drill-through process will display.

  • The Rule calculation for the Attrition Expense account answers the first question: how is this calculated? It details the specific expense accounts involved, along with the Headcount Assumption used, providing a comprehensive view of how attrition-related costs are derived.

  • The Salaries & Wages account highlights its role as a key component in the Attrition Expense calculation. It answers the second question: where else is this being referenced within the TM1 Rule, providing valuable insight into its broader impact on related calculations.

  • An account may have different rules depending on the business context. The COGS account illustrates how its calculation varies between department DA30 and DB30, ensuring that department-specific differences are accurately captured and understood.

  • This process will store both answers to "how is this calculated?" and "where else is this being referenced within the TM1 Rule?" in the same Drill through area. Here is an example of how Bonus Monthly Max is calculated and where it is referenced in other calculations.

Finally, nearly any language can be implemented:

If any of your Rules change, simply run the process to automatically update the explanations. Once everything was set up, running the process became effortless. Each cube took about 5 minutes to execute and store the results. If you're interested in learning how to set this up, feel free to reach out—I’d be happy to help you get started!

Ardian Alikaj

IBM Champion 2025 EPM/TM1/Planning Analytics Architect

4 个月

We have externalized the whole calculation logic, so we have designed cubes to store the calculation formulas and all required commections. Then we implemented a process that scans/parses the formulas at runtime, and then store all the calculation components for each calculated cell in a separate cube, along with their respective values. Then we built drill through interfaces to show the calculation formula, and the values for each calculation component

Robert Milli

Business Analytics Software Engineering Expert

4 个月

This is tremendous Jim Naff ! I would love to see it in action on some of our cubes !

Tin Nguyen

Je transforme vos données financières et opérationnelles ?? en leviers stratégiques ?? pour piloter la performance et anticiper l’avenir ?? | Co-fondateur de Treekala | Consultant EPM - IBM Planning Analytics

4 个月

I am always amazed by the incredible creativity people bring to TM1 solutions!

Darshan Manjunath

Cognos TM1 Planning Analytics Consultant at IBM| Anaplan L1 Model Certified

5 个月
Robert Montminy CPA, CITP

IBM Planning Analytics/TM1 Senior Architect/Developer

5 个月

Great stuff Jim! Always at the front with this application. Look forward to reviewing further.

要查看或添加评论,请登录

Jim Naff的更多文章

社区洞察

其他会员也浏览了