AI-Powered Chatbot for IBM TM1/Planning Analytics: Instant Insights Using TM1 REST API and ChatGPT API
#TM1RestAPI #ChatGPT #ibmplanninganalytics
I recently developed a prototype chatbot that integrates the TM1 REST API with the ChatGPT API, enabling users to ask questions about TM1 data, processes, dimensions, and performance—while receiving easy-to-understand answers.
Instead of manually sifting through logs or calculations, you can now interact conversationally with your TM1 environment to extract insights, monitor processes, and analyze data—all in real time.
Here are eight examples of the chatbot in action:
1. What are the top 3 products in the Maintenance Revenue cube for Oct, Budget, and New Customers?
Identifying top performers is a frequent request. The chatbot extracts and analyzes cube data to return the top three products based on the specified view and filters.
Screenshot of Response:
2. What data changed for the previous 10 days in the listprices cube for Jan and the Star Gazer 6 product?
The chatbot queries the TM1 Transaction Log to identify changes in the ListPrices cube, filtering for the specified product and date range. This provides streamlined access to TM1 Transaction Log data, making analysis faster and more convenient..
Screenshot of Response:
3. When did the process import_listprices execute with errors for the previous 7 days?
Monitoring process execution and errors times are essential for ensuring data accuracy and workflow efficiency. The chatbot retrieves execution details from the message log, giving you a clear picture.
Screenshot of Response:
4. Highlight any anomalies in ListPrices:Price Trend.
The chatbot can analyze ListPrices:Price Trend cube view data identifying key changes and patterns.
Screenshot of Response:
5. Tell me what was added to the Allocation dimension for the past 7 days.
The chatbot can query audit logs and highlights newly added members over the last seven days.
Screenshot of Response:
领英推荐
6. Explain what the import_listprices process does.
When you need to understand a TurboIntegrator (TI) process without diving into the code, the chatbot parses the process script and explains its logic in plain language.
Screenshot of Response:
7. Explain how Allocated Amount is calculated in the Allocation cube.
Cube rules can be hard to read for non technical staff. The chatbot retrieves the Rule file and provides a step-by-step explanation of how the Allocated Amount measure is calculated.
Screenshot of Response:
8. What Threads are running right now?
Performance monitoring is critical for TM1 administrators. The chatbot queries Threads and displays the active threads, showing details like ThreadID, duration, and user.
Screenshot of Response:
How It Works
Why It Matters
This integration brings the power of AI to TM1/Planning Analytics:
By streamlining these workflows, the chatbot reduces manual effort, enhances decision-making, and empowers users of all skill levels to interact with TM1 more effectively.
Looking Ahead
This chatbot prototype highlights what’s possible when combining TM1 REST API and AI tools like ChatGPT. There’s significant room for expansion:
If you're exploring AI-powered solutions for your TM1/Planning Analytics environment, I'd be happy to connect and share ideas. Let's collaborate and learn from each other's experiences!
EPM Expert | IBM Planning Analytics & TM1 SME | Certified Anaplan Model Builder | Specialist in Budgeting, Forecasting, & Business Intelligence Solutions
2 个月Thank you for sharing....Great Job ??
freelancer
3 个月specswriter.com AI fixes this AI chatbot simplifies TM1 interaction.
Senior Architect, BI & Analytics | Martin Marietta
3 个月This is amazing Jim. Great work!
Financial Systems
3 个月Sounds great! Hope this is for real and not Performance Modeler Mark II.
Director Business Development at Application Consulting Group
3 个月Jim Naff Thanks for sharing your insights on integrating IBM Planning Analytics with ChatGPT! Your work highlights the incredible potential of combining technologies. For folks looking to dive deeper into this topic, my group has recorded a webinar titled "Integration of IBM Planning Analytics with ChatGPT to Automate Analytics using Generative AI" – it's a resource that also explores this topic. Access is available at https://www.acgi.com/ibmpa-to-chatgpt-webinar