Export cube view in txt format
Posted: Fri Oct 09, 2015 2:42 pm
Hi all,
I've looked in the forum for help related to exporting a cube view into txt but still have some questions and request your assistance. I've tried couple of things -
1) By right-clicking a view and choosing 'Export as text data' option (an applying required filters for each of the dimensions in the export window), the resultant .cma file exports the data. However, the data is exported in column-wise for each of the member. Eg. If the first record in the cube is displayed in a row for a member like 'Mem Name', 'Mem Age', 'Mem Dob', 'Mem Address', then the .cma file exports the data as
'Mem Name'
'Mem Age'
'Mem Dob'
Mem Address'
Is there a way to export the data as it is in the cube but all the details of a member in a single row?
2) I tried ASCIIOUTPUT and TEXTOUTPUT functions in a TI process where I mentioned the appropriate elements for each of the dimensions, but despite the filter the resultant txt or csv file is generating ALL the results ignoring the filter part.
3) I tried creating a new TI and chose the TM1 Cube view as data source and wrote the above same ASCIIOUTPUT and TEXTOUTPUT functions, but the result is same as what the 'Export as text data' does (i.e. shows the results in column-wise format)
I really appreciate any help and guidance you can provide in achieving the desired results of displaying the cube view data as is in a txt file. Thanks for your help and time.
I've looked in the forum for help related to exporting a cube view into txt but still have some questions and request your assistance. I've tried couple of things -
1) By right-clicking a view and choosing 'Export as text data' option (an applying required filters for each of the dimensions in the export window), the resultant .cma file exports the data. However, the data is exported in column-wise for each of the member. Eg. If the first record in the cube is displayed in a row for a member like 'Mem Name', 'Mem Age', 'Mem Dob', 'Mem Address', then the .cma file exports the data as
'Mem Name'
'Mem Age'
'Mem Dob'
Mem Address'
Is there a way to export the data as it is in the cube but all the details of a member in a single row?
2) I tried ASCIIOUTPUT and TEXTOUTPUT functions in a TI process where I mentioned the appropriate elements for each of the dimensions, but despite the filter the resultant txt or csv file is generating ALL the results ignoring the filter part.
3) I tried creating a new TI and chose the TM1 Cube view as data source and wrote the above same ASCIIOUTPUT and TEXTOUTPUT functions, but the result is same as what the 'Export as text data' does (i.e. shows the results in column-wise format)
I really appreciate any help and guidance you can provide in achieving the desired results of displaying the cube view data as is in a txt file. Thanks for your help and time.