Create dimension consolidation by multiple users
Posted: Thu May 19, 2011 1:11 am
My first post - please be gentle!
I have a TI process called from VBA in an Excel Report.
The user specifies a date range, say 1 May to 15 May the process creates a subset by MDX containing all the individual dates, these elements are then assigned to the consolidation 'Date_Range' so the report can be run for this specific date range.
Now users are asking that more reports be created (for some reason users at this site don't query cubes themselves) with the facility to select a date range. This raises the possibility that the process will be executed simultaneously with different parameters. Is it possible to ensure the process can't be run if it is in use by another user? I've read what I can on locking but I'm still unsure as to what happens.
The TI runs quickly and I have had success running the TI simultaneously from 2 PCs but I need to know if this was just a fluke.
I have a TI process called from VBA in an Excel Report.
The user specifies a date range, say 1 May to 15 May the process creates a subset by MDX containing all the individual dates, these elements are then assigned to the consolidation 'Date_Range' so the report can be run for this specific date range.
Now users are asking that more reports be created (for some reason users at this site don't query cubes themselves) with the facility to select a date range. This raises the possibility that the process will be executed simultaneously with different parameters. Is it possible to ensure the process can't be run if it is in use by another user? I've read what I can on locking but I'm still unsure as to what happens.
The TI runs quickly and I have had success running the TI simultaneously from 2 PCs but I need to know if this was just a fluke.