Search found 53 matches
- Fri May 30, 2025 1:09 am
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Automatic Recalc
- Replies: 1
- Views: 1768
Re: Automatic Recalc
Hi there, If you have Planning Analytics for Excel installed, and you are logged into PAW etc. you can trigger branching recalculation by calling the .Dirty() method on a range of cells. Here is the VBA documentation: https://learn.microsoft.com/en-us/office/vba/api/excel.range.dirty This will not w...
- Fri May 30, 2025 1:05 am
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: VBA Code for PAFE
- Replies: 5
- Views: 6883
Re: VBA Code for PAFE
If you have Planning Analytics for Excel installed, and you are logged into PAW etc. you can trigger branching recalculation by calling the .Dirty() method on a range of cells. Here is the VBA documentation: https://learn.microsoft.com/en-us/office/vba/api/excel.range.dirty This will not work if the...
- Mon May 19, 2025 10:27 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: TI Update String Cell Values SqlServer Query 256 Char Limit
- Replies: 0
- Views: 1953
TI Update String Cell Values SqlServer Query 256 Char Limit
Hi all, I have a process that takes a field from SQL Server and uses CellPutS to insert the value into a cube intersection. The limitation I've run up against is that if the string length in the field from SQL Server is > 256 characters it gets truncated. I've confirmed that the data from SQL Server...
- Mon May 19, 2025 9:38 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Refined VBA Logic for Launching TI Process
- Replies: 0
- Views: 1664
Refined VBA Logic for Launching TI Process
Hi all, Below is a refinement to the VBA code I use to launch TI processes via the TM1 Rest API. Wanted to share to help our community in case someone finds it useful. The refinement uses the async polling method. I've found the older sync endpoint has undefined behavior, as far how long it will mai...
- Mon Aug 19, 2024 4:44 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: PAX API - TI Process - error 438
- Replies: 3
- Views: 3139
Re: PAX API - TI Process - error 438
Error 438 in VBA generally means the object you are trying to invoke a property / method from is not a valid binding.
Do you have the Planning Analytics for Excel add-in loaded and fully enabled?
Do you have the Planning Analytics for Excel add-in loaded and fully enabled?
- Fri Jul 12, 2024 7:33 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Very slow DBRW performance when a cube is used as data source
- Replies: 4
- Views: 5534
Re: Very slow DBRW performance when a cube is used as data source
Sharing in case this is an option for you. We now use a TM1 library to query data into SQL Server, then use Power Query to load data into Excel / PowerBI. It is very performant. If you are a MS shop the C# library is linked below, or if you're a python dev tm1py should work in the same way. We like ...
- Fri Jun 28, 2024 9:49 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Trouble accessing async object from RestAPI Prefer: respond-async
- Replies: 2
- Views: 3144
Re: Trouble accessing async object from RestAPI Prefer: respond-async
"If you're always seeing 404, it may because you're polling from a separate session id. The async job is session specific, you can't check on the status of some other thread's job, even if it was executing under your ID." Oh, that's a good hint. I was trying to access the async object on a...
- Fri Jun 28, 2024 7:15 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Trouble accessing async object from RestAPI Prefer: respond-async
- Replies: 2
- Views: 3144
Trouble accessing async object from RestAPI Prefer: respond-async
Hi all, I'm having trouble interacting with the TM1 rest API in the following way. I'm hoping maybe there's some obvious that I'm missing :) Kick-off TI process public async static Task<string> RunProcessWithPolingAsync(TM1SharpConfig tm1, string processName, Dictionary<string, string>? parameters =...
- Mon Apr 22, 2024 7:32 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Methods for Inputting Data into TM1 Cube
- Replies: 12
- Views: 8706
Re: Methods for Inputting Data into TM1 Cube
I've had success with three methods: 1.) Use VBA to re-calculate DBSS formulas, to push data into cube cells. (Slow) 2.) Use VBA to send JSON payloads to the TM1 Rest API (Slower) (Could only figure out how to send one cell at a time) 3.) Use VBA to export data to a flat .CSV file, in a location the...
- Thu Apr 04, 2024 10:11 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Using VBA Replace to alter DBRW references in PAfE
- Replies: 7
- Views: 4445
Re: Using VBA Replace to alter DBRW references in PAfE
You're welcome, glad I could help 

- Wed Apr 03, 2024 5:10 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Using VBA Replace to alter DBRW references in PAfE
- Replies: 7
- Views: 4445
Re: Using VBA Replace to alter DBRW references in PAfE
Try using Application.EnableEvents = False before modifying the cell formula.
Then .Dirty method on the range.
Then trigger calculation.
Then .Dirty method on the range.
Then trigger calculation.
- Thu Feb 22, 2024 4:45 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Element Order in Dimension, PAW vs PAfE
- Replies: 7
- Views: 3200
Re: Element Order in Dimension, PAW vs PAfE
@ascheevel, got it, thank you. In Architect there does seem to be the ability to edit the dimension (right click -> Edit Dimension Structure) with the indexing that is shown in the return from TM1SubSetAll. I'm guessing that PAW does not have the ability to edit the dimension in this way? Both Edit ...
- Thu Feb 22, 2024 2:04 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Element Order in Dimension, PAW vs PAfE
- Replies: 7
- Views: 3200
Re: Element Order in Dimension, PAW vs PAfE
Thank you ascheevel, I do see now in PAW where I can modify the MDX in the subset editor. Is there a way I can modify the ordering returned by TM1SUBSETALL? What is more confusing is that in the Dimension Editor (or MDX .Members return), all of the N level elements roll to the top level consolidatio...
- Tue Feb 20, 2024 10:41 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Element Order in Dimension, PAW vs PAfE
- Replies: 7
- Views: 3200
Re: Element Order in Dimension, PAW vs PAfE
Hi Maren, (Continuing with the previous example) DIMNM at index 1 return Element B (although it shows as the third item in the dimension editor in PAW) DIMIX passing in the string name "Element B" in the same dimension, returns 1. What would be the best way to test ElementName and ElementI...
- Tue Feb 20, 2024 4:57 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Element Order in Dimension, PAW vs PAfE
- Replies: 7
- Views: 3200
Element Order in Dimension, PAW vs PAfE
Scenario: • Dimension was created in the "old world" Perspectives / Architect. • Using =DIMNM("server:dimensionName", index) in PaFE. • In PAW, under the dimension tree, I right click the dimension and select "Edit Dimension" (or "Edit Dimension Classic"). In ...
- Fri Feb 16, 2024 4:23 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Excel VBA, PAFX: make a cell static
- Replies: 6
- Views: 4430
Re: Excel VBA, PAFX: make a cell static
For posterity, the VBA code below will work: Why it works? Disabling events will prevent ExcelDNA batch recalculation (e.g. RECALC_XXXX) from triggering, otherwise once the batch calculation returns from the PAfE add-in, the cell will be overwritten with the original formula AFTER the cell.Value = c...
- Wed Feb 14, 2024 4:18 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: PAX dbrw formula overwrite value with vba
- Replies: 3
- Views: 1816
Re: PAX dbrw formula overwrite value with vba
Also, you may find this helpful... Trigger batch recalculation of TM1 formulas on a range, or worksheet. Useful for force re-calc in automated scripts: Sub ReCalcRng(rng As Range) calc = Application.Calculation Application.EnableEvents = False Application.Calculation = xlCalculationAutomatic Applica...
- Wed Feb 14, 2024 4:13 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: PAX dbrw formula overwrite value with vba
- Replies: 3
- Views: 1816
Re: PAX dbrw formula overwrite value with vba
Hi my friend, I hope you are having a nice day. Try this dim cell as range set cell = ActiveCell 'ActiveCell, for each, etc. Application.EnableEvents = False cell.Formula = cell.Value 'or .Value2 Application.EnableEvents = True It will prevent ExcelDNA batch recalculation (e.g. RECALC_XXXX) from tri...
- Fri Feb 09, 2024 4:07 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Use of VBA in PA
- Replies: 5
- Views: 2297
Re: Use of VBA in PA
I agree with 20 Ton Squirrel. I will caveat that you can use Msxml2.ServerXMLHTTP.6.0 (or some variant that lets you GET / POST to http) in VBA to interact with the ODATA v4 TM1 API directly, and it's a "fairly" modern implementation. Although working in VBA means single thread / no async,...
- Thu Feb 01, 2024 4:45 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Office 365 + Perspectives Add-In Not In Support
- Replies: 0
- Views: 11208
Office 365 + Perspectives Add-In Not In Support
Hi friends, I wanted to share this information that I learned recently, to hopefully help you avoid some heartache (maybe it is old news to many, but it was new news to us :shock: ). If you are considering an upgrade to PA (TM1) Server, and your user community has Excel Office 365 deployed, IBM does...