ASCIIOUTPUT to include column headers?
Posted: Wed Mar 13, 2013 4:25 pm
Hi all,
I am trying to export my TM1 cube (simple attributes cube) but it is not including column headers
I have been looking around in here and found a post that I thought would be helpful since it resolved the other members same issue. Here is that post:
http://www.tm1forum.com/viewtopic.php?f=3&t=3245
However, I have done the same and it's not working
Here is exactly what I have done:
Prolog Tab:
Data Tab:
(please note I use a full UNC path and not "file path" - I have stated that there for simplicity instead of a lengthy filepath)
The process runs without error, but when it's done and I look at the .csv, there are no headers 
And, there is only one line of data
The cube has about 400 lines in it so I need those 400 lines.
Here is what it looks like:
Thanks again for guidance!!
I am trying to export my TM1 cube (simple attributes cube) but it is not including column headers

http://www.tm1forum.com/viewtopic.php?f=3&t=3245
However, I have done the same and it's not working

Here is exactly what I have done:
Prolog Tab:
Code: Select all
Header = 1;
(please note I use a full UNC path and not "file path" - I have stated that there for simplicity instead of a lengthy filepath)
Code: Select all
IF (Header = 1);
ASCIIOUTPUT('\\file path\SSD MPN Export.csv', vSSDMPN, vInclusionFlag, vSSDModel, vTotalGBperSSD, vModuleFormFactorPrefix, vModuleFormFactor, vDID, vDensityperIndividualNANDGb, vTotalGigabitsperSSD, vTotalNANDDie, vSeries, vSSDModelandDID, vUsableGBperSSD, vMemoryComponentQuantity, vProductSubtechnology, vNANDInterface, vUsageType );
Header = Header - 1;
ENDIF;

And, there is only one line of data

Here is what it looks like:
Thanks again for guidance!!