Search found 5 matches
- Tue Sep 01, 2020 2:44 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: SubsetCreatebyMDX Union 3 elements or more
- Replies: 3
- Views: 2314
SubsetCreatebyMDX Union 3 elements or more
Hi All, Wonder if someone know how to union 3 elements (or more if needed) in given code? Works with two elements perfect. Does not work when added 3rd element. Thanks in advance :) SubsetCreatebyMDX( vSubset, '{UNION( {TM1FILTERBYLEVEL( {TM1DRILLDOWNMEMBER( { [ ' | vDim1 | ' ].[ ' | vEl | ' ] }, AL...
- Tue Jul 21, 2020 12:20 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: TM1 Data insert into SQL
- Replies: 3
- Views: 2999
Re: TM1 Data insert into SQL
Thank you Wim, Found something that solves #2 issue - removes single quotation mark. I think that code below can be adapted to resolve #1 issue same time.. vDesc= ATTRS('WIN',vWIN,'Description'); #Remove singe quote from description string. without this loop SQL insert will fail. iClean = 0; WHILE (...
- Tue Jul 21, 2020 11:17 am
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: TM1 Data insert into SQL
- Replies: 3
- Views: 2999
TM1 Data insert into SQL
Hi All, Another interesting problem came up when working with TM1 as newbie :) Well, two issues actually.. 1st - I'm writing out element description (using vDesc=ATTRS('WIN',vWIN,'Description'); ) to SQL table result is "123456 - Product Description" How to remove part of string starting w...
- Tue Jul 14, 2020 3:23 pm
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Cube data into SQL table columns
- Replies: 7
- Views: 6774
Re: Cube data into SQL table columns
Hi, In this case you may want to create a C: element, which sums up all the 5 measures, and use that in the cube view data source Then on the Data tab: vMeasure1 = CellGetN(Cube,...,Measure1) ... So 5x CellGetN from the cube, and then 1x ODBC Output in the Data tab This will work fine as long as yo...
- Tue Jul 14, 2020 9:00 am
- Forum: IBM TM1, Planning Analytics, PAx and PAW
- Topic: Cube data into SQL table columns
- Replies: 7
- Views: 6774
Cube data into SQL table columns
Hi, I'm new to TM1 world, wonder if someone can help solve this. I've created Ti process that writes data into SQL table, which is fine. However my measures all gets written in same column. Cube contains 4 dimensions. From measure dimension I need 5 elements to be into individual columns and values ...