IBM / paxapi

This repository hosts the API documentation for IBM Planning Analytics for Microsoft Excel. For full product documentation, please visit the Knowledge Center:
https://www.ibm.com/support/knowledgecenter/SSD29G_2.0.0/kc_gen/com.ibm.swg.ba.cognos.ipa.doc_using_planning_analytics_toc-gen2.html
Apache License 2.0
6 stars 5 forks source link

Application.Run leads to serious performance degradation #43

Open wimgielis opened 2 years ago

wimgielis commented 2 years ago

Hello,

In the last couple of weeks I opened multiple tickets with IBM support regarding PAfE commands in regular Excel VBA modules. Be it: UnlinkSheet, or RefreshSheet and similar functions.

These functions run fine in the end but whejn any of the preceding lines uses Application.Run towards regular TM1 functions, the same commands run very very slowly. Run time *5 or worse by just adding such a line. Examples:

So basically within VBA I ask for the result of DIMIX, DIMNM, SUBSIZ but also DBRW on other occasions.

What could be the reason ? If I comment these lines in the code the other PAFE API commands run at normal speed.

Thanks,

Wim

tedphillips commented 1 year ago

are you still seeing this? it should not be the case. i do recall a support ticket that went by and perhaps we provided feedback there.

a some thoughts just in case: