Cube View Export using TI process

Post Reply
Meg
Posts: 7
Joined: Wed May 18, 2016 4:04 am
OLAP Product: Cognos TM1
Version: 10.2
Excel Version: MS office 2013

Cube View Export using TI process

Post by Meg »

Hi,

How to export .csv file by using the Cube view at consolidated level in TI process?i am able to export through tI process using ASCIIOUTPUT but I need at consolidated level.
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: Cube View Export using TI process

Post by jim wood »

You need to include consolidations in your view and have them enabled in the export properties. This covered extensively in the developer guide. I'd also recommend going through the functions in the reference guide.
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
Meg
Posts: 7
Joined: Wed May 18, 2016 4:04 am
OLAP Product: Cognos TM1
Version: 10.2
Excel Version: MS office 2013

Re: Cube View Export using TI process

Post by Meg »

Hi Jim,

Thanks for your suggestion but I have only one consolidation & have 158 GL Codes as leaf level elements.as these elements are mapped to different Salary components of Employees like Bonus,Gross Pay,Net Pay,expense etc.i need the data consolidation of each leaf level elements,how do I do it?
Only One Consolidation
Only One Consolidation
Consolidation.png (3.54 KiB) Viewed 7119 times
David Usherwood
Site Admin
Posts: 1458
Joined: Wed May 28, 2008 9:09 am

Re: Cube View Export using TI process

Post by David Usherwood »

If you explained what 'data consolidations' meant, it would help.
If you need to group your GL codes into totals, you need to add parent elements to the dimension and chart the children.
If you just need to export them with different names eg 410100 = Gross Pay, create, populate and use an alias.
It's all in the manuals.
Meg
Posts: 7
Joined: Wed May 18, 2016 4:04 am
OLAP Product: Cognos TM1
Version: 10.2
Excel Version: MS office 2013

Re: Cube View Export using TI process

Post by Meg »

Hi David,

Here are the attached screen shots, currently I am getting the export at leaf level.
leaf level.png
leaf level.png (45.7 KiB) Viewed 7101 times
But need the export as below, how to do this ? as all the Dimension in the cube has only one consolidation as total.
Consolidated level.PNG
Consolidated level.PNG (71.65 KiB) Viewed 7101 times
User avatar
qml
MVP
Posts: 1097
Joined: Mon Feb 01, 2010 1:01 pm
OLAP Product: TM1 / Planning Analytics
Version: 2.0.9 and all previous
Excel Version: 2007 - 2016
Location: London, UK, Europe

Re: Cube View Export using TI process

Post by qml »

Meg wrote:But need the export as below, how to do this ? as all the Dimension in the cube has only one consolidation as total.
You need to think which dimensions you are not showing/splitting in your extract. For any such dimension you will need to have a total consolidation in the dimension and use that in the source view (also remember to set the source view not to skip consolidations, which views do by default). That way you will achieve data aggregated to the granularity of the extract rather than the granularity of the cube (which looks to be greater). If it's something else that you're after then you have not made it very clear, despite the pictures.
Kamil Arendt
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: Cube View Export using TI process

Post by lotsaram »

You do aggregations in TM1 via dimension consolidations, period.

If you don't have any other consolidations in Account other than total then you need to create them. Then process these.
Please place all requests for help in a public thread. I will not answer PMs requesting assistance.
Meg
Posts: 7
Joined: Wed May 18, 2016 4:04 am
OLAP Product: Cognos TM1
Version: 10.2
Excel Version: MS office 2013

Re: Cube View Export using TI process

Post by Meg »

thanks all.I was able to export at the consolidated level but the posting key against the value is matching.
Posting key logic is mentioned below,

IF(V17=1);
IF(Value>0);
vPosting='50';
ELSE;
vPosting='40';
Endif;
Else;
IF(Value>0);
vPosting='40';
ELSE;
vPosting='50';
Endif;
ENDIF;

attached picture of the export.
posting key not matching.png
posting key not matching.png (24.45 KiB) Viewed 6961 times
Meg
Posts: 7
Joined: Wed May 18, 2016 4:04 am
OLAP Product: Cognos TM1
Version: 10.2
Excel Version: MS office 2013

Re: Cube View Export using TI process

Post by Meg »

attached the picture of the variables.
defined Variables.png
defined Variables.png (24.23 KiB) Viewed 6960 times
Meg
Posts: 7
Joined: Wed May 18, 2016 4:04 am
OLAP Product: Cognos TM1
Version: 10.2
Excel Version: MS office 2013

Re: Cube View Export using TI process

Post by Meg »

data tab.png
data tab.png (21.55 KiB) Viewed 6959 times
Post Reply