TI Process gives duplicates into asciioutput

Post Reply
mincharug.shulft
Regular Participant
Posts: 155
Joined: Fri May 20, 2011 8:17 am
OLAP Product: Applix,Cognos TM!
Version: applix9.0Cognos tm1 9.5.1
Excel Version: Excel 2010 2007

TI Process gives duplicates into asciioutput

Post by mincharug.shulft »

Hi All Gentle mans ,its pleasure to write an email bcz i see, well prompt responses each others...really i say thank to this forum....

I have a problem in TI Process:

I have users data want to store into text file,so ,i am writing TI Process script using asciioutput function into text file,but the information (users ids) that i am storing into text file has many duplicates bcz of my source.i donot want to load or store it in my text file all my duplicate users information,is there any way to check whether already same user exist in the text file or not before load it bcz of this i am not able to open the text file in excel to remove the duplicates since it stored in more than 500 MB....really appreciated your prompt response.
Wim Gielis
MVP
Posts: 3113
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: TI Process gives duplicates into asciioutput

Post by Wim Gielis »

How many such different ID's do you have ?
Because you could use a temporary dimension, do a DIMENSIONELEMENTINSERT, and then check (DIMIX = 0 or not ) if the element (ID) in the temporary dimension or not.
In the Epilog you remove the temporary dimension again.
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
TrevorGoss
Community Contributor
Posts: 217
Joined: Thu Aug 15, 2013 9:05 am
OLAP Product: TM1
Version: 10.2.1.1
Excel Version: 14.0.6129.5000

Re: TI Process gives duplicates into asciioutput

Post by TrevorGoss »

Wim Gielis wrote:How many such different ID's do you have ?
Because you could use a temporary dimension, do a DIMENSIONELEMENTINSERT, and then check (DIMIX = 0 or not ) if the element (ID) in the temporary dimension or not.
In the Epilog you remove the temporary dimension again.
A temporary dimension is a good way to achieve this, another way would be to have a string variable and attach the IDs to the string and then do an if condition to check if the ID exists within the string
Wim Gielis
MVP
Posts: 3113
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: TI Process gives duplicates into asciioutput

Post by Wim Gielis »

TrevorGoss wrote:A temporary dimension is a good way to achieve this, another way would be to have a string variable and attach the IDs to the string and then do an if condition to check if the ID exists within the string
For small numbers of IDs I could do your approach, but I doubt this is the case here if the output file is 500 MB.
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
mincharug.shulft
Regular Participant
Posts: 155
Joined: Fri May 20, 2011 8:17 am
OLAP Product: Applix,Cognos TM!
Version: applix9.0Cognos tm1 9.5.1
Excel Version: Excel 2010 2007

Re: TI Process gives duplicates into asciioutput

Post by mincharug.shulft »

Thanks a lot for your prompt reply Wim Gielis and TrevorGoss .

My source is my transaction logs converting into text file and using that a source.
from my transaction logs (.txt) i need to get users ids...so still i can create temp dim.....Please help on this.Thanks in advance
mincharug.shulft
Regular Participant
Posts: 155
Joined: Fri May 20, 2011 8:17 am
OLAP Product: Applix,Cognos TM!
Version: applix9.0Cognos tm1 9.5.1
Excel Version: Excel 2010 2007

Re: TI Process gives duplicates into asciioutput

Post by mincharug.shulft »

TrevorGoss wrote:
Wim Gielis wrote:How many such different ID's do you have ?
Because you could use a temporary dimension, do a DIMENSIONELEMENTINSERT, and then check (DIMIX = 0 or not ) if the element (ID) in the temporary dimension or not.
In the Epilog you remove the temporary dimension again.
A temporary dimension is a good way to achieve this, another way would be to have a string variable and attach the IDs to the string and then do an if condition to check if the ID exists within the string

Thanks a lot for your prompt reply Wim Gielis and TrevorGoss .

My source is my transaction logs converting into text file and using that a source.
from my transaction logs (.txt) i need to get users ids...so still i can create temp dim.....Please help on this.Thanks in advance
Wim Gielis
MVP
Posts: 3113
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.0.9.18
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: TI Process gives duplicates into asciioutput

Post by Wim Gielis »

mincharug.shulft wrote:so still i can create temp dim
Yes, correct.
Best regards,

Wim Gielis

IBM Champion 2024
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Post Reply