TI process to load views

Post Reply
New2TM
Posts: 1
Joined: Tue Jul 21, 2015 12:24 am
OLAP Product: TM1
Version: 10.2
Excel Version: 2013

TI process to load views

Post by New2TM »

Hi Team,

Would anyone be able to shed some insight into loading a cube "view" via a TI process?

I have a CSV file which I've brought into the TI process, and am trying to use a CELLPUTN to load the cube view, possible?.

Dimensions:
version
Currency
Years
Months
Company
Stores
Accounts
Measures


Prolog:
vCube = Stores
cview = Occupancy

Data:
CELLPUTN(v1, vCube, pVersion, vCurrency, vYear, '1', vCompany, 'Store 0001', '61000000-BASE RENT', 'Amount');
v1 = my $ amount
'1' = company

Thank you!
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: TI process to load views

Post by jim wood »

When loading a view via TI it has to be a public view. Within the data source tab you can select a cube view / subset as the source. If you select a source view it spools through the combinations set by the view in a similar way to comma delimited file. You map your variables in the same way. Be warned that you need to make sure all the dimensions within the view are constrained to only include the content you want, not just the dimensions that appear in the page area.

I hope that helps,

Jim.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
lotsaram
MVP
Posts: 3704
Joined: Fri Mar 13, 2009 11:14 am
OLAP Product: TableManager1
Version: PA 2.0.x
Excel Version: Office 365
Location: Switzerland

Re: TI process to load views

Post by lotsaram »

jim wood wrote:When loading a view via TI it has to be a public view. Within the data source tab you can select a cube view / subset as the source. If you select a source view it spools through the combinations set by the view in a similar way to comma delimited file. You map your variables in the same way. Be warned that you need to make sure all the dimensions within the view are constrained to only include the content you want, not just the dimensions that appear in the page area.

I hope that helps,

Jim.
I think you misread the post Jim. Seems the OP is asking about loading from a CSV to a cube.

New2TM looks like you are on the right track. Just remember that when using CellPutN that all dimension element arguments must point to N elements. Your variables from the CSV should all be "other" and your CellPutN code on the Data tab.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
User avatar
jim wood
Site Admin
Posts: 3961
Joined: Wed May 14, 2008 1:51 pm
OLAP Product: TM1
Version: PA 2.0.7
Excel Version: Office 365
Location: 37 East 18th Street New York
Contact:

Re: TI process to load views

Post by jim wood »

lotsaram wrote:I think you misread the post Jim.
More than likely. At least the information may come in handy for them at some point.
Struggling through the quagmire of life to reach the other side of who knows where.
Go Build a PC
Jimbo PC Builds on YouTube
OS: Mac OS 11 PA Version: 2.0.7
Post Reply