I'm trying to customize the drill cube to meet client's requirement. The origination cube displays member names and their claim details as rows and columns respectively among other various contexts such as year, month, version etc. When any of the claim details cell is drilled, the drill cube opens showing detailed claims breakup along with other demographic details. (Cube view was used as the source to set up the drill cube).
So currently, if for the month of Feb, claim detail is drilled from the origination cube for a member, the drill cube view for the month of Feb opens up for all the members. However, I want to customize it in a way that the drill cube view shows only that member's details who has been selected from the origination cube.
I searched this forum and found http://www.tm1forum.com/viewtopic.php?f ... ube#p43578 helpful. However, I'm still not able to get the desired results as I'm stuck with issues.
In the Prolog tab of the Drill process, I wrote the following code to capture the claim detail (covered amt) for the member and assigned it to the drill cube -
Code: Select all
SubsetDestroy('Member Name', 'MCSubset');
SubsetCreate('Member Name', 'MCSubset');
SubsetElementInsert('Member Name', 'MCSubset', (NumberToString(CellGetN('Account Extracts Cube', 'Actual', '2014', 'Feb', 'All Accounts', 'All ICD Codes', 'All Types of Services', 'Mennen Coleman', 'Covered Amt'))), 1);
ViewSubsetAssign('Account Extracts Drill Cube', 'Leaf1', 'Member Name', 'MCSubset');
Could somebody please guide me as to whether the approach I used is correct? How to rectify the issue so that the element is added in to the dimension and can be passed on to the drill cube? Appreciate your time and help.