Hi All,
I got stuck up and need the solution ASAP. Our code is in UAT.
We have 1600 numerical objects and at this point of time the users want that all the numerical fields should the value divide by 1000.
I don’t want to change each and every object. Is there any way out by which we can change this at one go.
I would do a search in the SDK section for a macro. Shouldn’t be too difficult to loop through all classes/objects in a universe, test for type and add /1000 to the code.
As Gerard suggested to do at universe level using SDK, similarly there should be a way to do at report level using BO SDK by calling each report in a batch.
Doing at universe level would have been done in one go rather than changing each report
Since you have only 4 reports, just create a variable by name Divisor and add the line:
=1000
Go to each numeric column or cell in the Data block and paste the object
eg. =/
In case you want to later change the division back to none, just change the variable with =1 in place of =1000. In this way you can change the division at one go for whole report.
Thanks a lot for the solution. This can be one of the solution but then I need to create the formula for each object (all 1600 objects) as they are coming directly from the universe. Though this will be one time job
But I think that there is way out by using macro which will automatically pick all the measure objects and divide that by zero. Since i am not aware of macro code, so if you can provide me some syntax for that, it would be really gr8.
I don’t mean to be rude, but haider does not work for you. People assist with suggestions and possible solutions, but it is up to you to do the testing, and the hard work. It is you that is taking home the paycheck regarding this issue you are facing - not haider. If you had asked me to test 10 measure objects for you, I would flatly refuse.