How to avoid auto recalculate when using DBSW in Perspective
- emotlau
- Posts: 8
- Joined: Wed Mar 21, 2012 6:40 am
- OLAP Product: cognos tm1
- Version: 9.5
- Excel Version: 2010
How to avoid auto recalculate when using DBSW in Perspective
I am using Perspective to populate data using DBRW and DBSW to copy data. The purpose of this is to allow user to copy data from column 'Source' into column 'To'.
The problem is how to avoid the data from automatically being updated the cube view until user click on button or F9 key.
I have tried to set the calculation to be Manual. However, if I select Manual then the cube will not get updated even after i hit F9 key. Did i miss out anything?
Please help.
Thank you.
- Martin Ryan
- Site Admin
- Posts: 2003
- Joined: Sat May 10, 2008 9:08 am
- OLAP Product: TM1
- Version: 10.1
- Excel Version: 2010
- Location: Wellington, New Zealand
- Contact:
Re: How to avoid auto recalculate when using DBSW in Perspec
I use a "send" flag so that the user can determine when they want to send the value. If the flag is set to no it just shows an "x". E.g.
=if($A$1="Y", DBS(value, cube, etc etc), "x")
HTH,
Martin
=if($A$1="Y", DBS(value, cube, etc etc), "x")
HTH,
Martin
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
Jodi Ryan Family Lawyer
- emotlau
- Posts: 8
- Joined: Wed Mar 21, 2012 6:40 am
- OLAP Product: cognos tm1
- Version: 9.5
- Excel Version: 2010
Re: How to avoid auto recalculate when using DBSW in Perspec
Woww!!! a perfect solution for me. Thanks MartinI use a "send" flag so that the user can determine when they want to send the value. If the flag is set to no it just shows an "x". E.g.
=if($A$1="Y", DBS(value, cube, etc etc), "x")

-
- Posts: 3
- Joined: Fri Mar 23, 2012 9:46 am
- OLAP Product: Cognos TM1
- Version: 9.5.2
- Excel Version: 2003
Re: How to avoid auto recalculate when using DBSW in Perspec
Hello all,
I have the same problem using DBSW in Perspective, but additionally I want to publish my sheet in TM1 Web, after I created it in Excel.
In Excel Martins solution works fine, but TM1 Web seems to recalculate the whole sheet every time you perform an action concerning a checkbox, pick list or radio button. The recalc is not the real problem here, but every time TM1 Web recalculates the sheet a save dialog pops up. It is quite annoying being asked to save, every time you check or uncheck a checkbox.
Is there a workaround to avoid autorecalc in TM1 Web, too? (or at least this save dialog?!?)
"RecalcWebsheetOnActivate" is set to false and deactivating the autorecalc button in Tm1 Web seems to have no effect either.
Thanks for your replies!
I have the same problem using DBSW in Perspective, but additionally I want to publish my sheet in TM1 Web, after I created it in Excel.
In Excel Martins solution works fine, but TM1 Web seems to recalculate the whole sheet every time you perform an action concerning a checkbox, pick list or radio button. The recalc is not the real problem here, but every time TM1 Web recalculates the sheet a save dialog pops up. It is quite annoying being asked to save, every time you check or uncheck a checkbox.
Is there a workaround to avoid autorecalc in TM1 Web, too? (or at least this save dialog?!?)
"RecalcWebsheetOnActivate" is set to false and deactivating the autorecalc button in Tm1 Web seems to have no effect either.
Code: Select all
<!-- If true, recalc will be performed each time websheet is activated, e.g switching tabs. -->
<add key="RecalcWebsheetOnActivate" value="false" />
-
- MVP
- Posts: 352
- Joined: Wed May 14, 2008 1:37 pm
- OLAP Product: TM1
- Version: 2.5 to PA
- Excel Version: Lots
- Location: Sydney
- Contact:
Re: How to avoid auto recalculate when using DBSW in Perspec
To block the Save message have a look in your web.config for the SuppressPleaseSaveDialog key.
web.config wrote: <!-- Disables "Please Save" dialog and automatically submits any changed data, prior to performing an action such as data spreading or pick-lists which triggers a recalc
0 - Indicates that the dialogs will not be suppressed
1 - Indicates that the dialogs will be supressed-->
<add key="SuppressPleaseSaveDialog" value="1" />
Andy Key
-
- MVP
- Posts: 3706
- Joined: Fri Mar 13, 2009 11:14 am
- OLAP Product: TableManager1
- Version: PA 2.0.x
- Excel Version: Office 365
- Location: Switzerland
Re: How to avoid auto recalculate when using DBSW in Perspec
Andy you are my hero! Never noticed this before. This is becoming standard in all my web servers as of today.Andy Key wrote:To block the Save message have a look in your web.config for the SuppressPleaseSaveDialog key.
web.config wrote: <!-- Disables "Please Save" dialog and automatically submits any changed data, prior to performing an action such as data spreading or pick-lists which triggers a recalc
0 - Indicates that the dialogs will not be suppressed
1 - Indicates that the dialogs will be supressed-->
<add key="SuppressPleaseSaveDialog" value="1" />
However this key isn't currently included in the OOTB web.config
So question: can it go anywhere in the <appSettings file="tm1web.config"> region or is there somewhere specific it needs to go?
-
- MVP
- Posts: 352
- Joined: Wed May 14, 2008 1:37 pm
- OLAP Product: TM1
- Version: 2.5 to PA
- Excel Version: Lots
- Location: Sydney
- Contact:
Re: How to avoid auto recalculate when using DBSW in Perspec
Sorry, been overseas with no Internet for a while. I'm sure you've already worked it out by now, but I guess it can go anywhere in that region, I put it at the bottom along with the other newer keys.lotsaram wrote:So question: can it go anywhere in the <appSettings file="tm1web.config"> region or is there somewhere specific it needs to go?
Andy Key