In fact, when a title element was changed directly, i.e. without using the Subset Editor, only zero values are returned with F9/Recalculate/TM1RECALC.
It works fine with Alt+F9/Rebuild/TM1REFRESH, but this isn't exactly what I was expecting and it reverts any drill down/up to the last saved state.
The following suggestion didn't work:
http://www.tm1forum.com/viewtopic.php?f ... 912#p14883
Interestingly the numbers can correctly be refreshed by Excel as suggested here (equivalent to CalculateFullRebuild in VBA): http://www.tm1forum.com/viewtopic.php?p=15027#p15047lotsaram wrote:edit the TM1RptView formula and completely remove the TM1RptTitle reference to the month dimension
Alan Kirk wrote:[Ctrl]+[Shift]+[Alt]+[F9] will do a full calculation, and also rebuild the workbook's calculation dependency tree.
But if I press F9 directly afterwards, it updates to zero values again.
There is no problem if Excel Calculation is set to Automatic or with VBA Application.Calculate!
It was suggested that this is common behaviour of TM1: http://www.tm1forum.com/viewtopic.php?f=3&t=5611#p23434:
My questions are:lotsaram wrote:If any title elements have changed you have to use Alt + F9 to rebuild. Active forms use a special cache and often require a rebuild rather than just a recalc particularly if any title elements or column headers have been changed, otherwise the required value won't be in the active form's view cache and a zero will be returned.
- Is this a known bug?
- I have to trigger calculation from VBA, no matter if it is an active form or standard report, so as it seems I have to use TM1REFRESH instead of TM1RECALC.
Would it be better to use Application.Calculate? Or CalculateFullRebuild? Or Calculation=xlCalculationAutomatic and back to Calculation=xlCalculationManual? - Any other suggestion?
With every F9, TM1 extends the used range (last cell) of the workbook by the amount of rows in the data table minus 1.

