I am back to TM1/ IBM PA after a long long time, after having worked in it very briefly. Suffice to say, I am a beginner. Currently a very demanding project fell into my lap with extremely tight deadlines. (They brought me in because I was the only scapegoat)
Thus, I am requesting for some kind help with it. One part of this project involves modifying two existing TI processes that currently take in SCENARIO, MONTH, etc. as parameters and essentially build a large SQL query to perform delete/insert operations on data. This takes hours+ time. To reduce the time, the business wants to generate the cube view in TI process to include specific scenarios:
1. Static scenarios: Actual, Current Budget, Current Forecast
2. Dynamic scenarios: depending on the current month
Forecast 01-2025|Budget 01-2025|Forecast 02-2025|Budget 02-2025|Forecast 03-2025|Budget 03-2025|Forecast 04-2025|Budget 04-2025|Forecast 05-2025|Budget 05-2025|Forecast 06-2025|Budget 06-2025|Forecast 07-2025|Budget 07-2025"
Example:
Code: Select all
""Current Month: Jul"
"Current Year: 2025"
"Next Year: 2026"
"Current Month Number: 8"
"Previous Month: ","Aug"
"Generated Scenarios: Forecast 01-2025|Budget 01-2025|Forecast 02-2025|Budget 02-2025|Forecast 03-2025|Budget 03-2025|Forecast 04-2025|Budget 04-2025|Forecast 05-2025|Budget 05-2025|Forecast 06-2025|Budget 06-2025|Forecast 07-2025|Budget 07-2025"
Code: Select all
[/b]#--- Scenario subset Creation segment-----------------
vDimName='Scenario'; ExecuteProcess('Bedrock.Dim.Sub.Create.Leaf', 'pDimension', vDimName, 'pSubset', cSubsetName, 'pExclusions', '' ); ViewSubsetAssign (cCubeName, cViewName, vDimName, cSubsetName );
#---------------------------------------------------
Sincerely,
Nirvan
a certified beginner