HI Tin, those look to be added by the PAW process creating the extract file that is saved locally.
Doubt anything can be done at this stage unless you log an idea to have a change made.
Original Message:
Sent: Wed November 27, 2024 01:59 PM
From: Tin NGUYEN
Subject: How to access exported files (CSV) from a TurboIntegrator process in PAW (for Analyst/Consumer users)
Ok I wasn't clear enough. After drilling, we have the possibility to download the related csv file. It is in this csv file that I have an issue. When I open this csv file in Excel or a text editor, the first row that appears are A, B, C, D, E, etc. Not the real headers. I attached some printscreens so you can see what I get.
Thx for your help
------------------------------
Tin NGUYEN
IBM Planning Analytics and Excel VBA enthusiast
Co-founder at Treekala
Original Message:
Sent: Wed November 27, 2024 01:25 PM
From: George Tonkin
Subject: How to access exported files (CSV) from a TurboIntegrator process in PAW (for Analyst/Consumer users)
This is what I have in my Prolog and changing the number of records does change where the file starts i.e. no headers.
#=====SET DATA SOURCE=====
#--Configure the data source and use a colon as a separator to keep object/file name in column A and other details in subsequent columns
DataSourceType = 'CHARACTERDELIMITED';
DatasourceASCIIDelimiter=':';
DatasourceNameForServer=sFilename;
DatasourceASCIIHeaderRecords = 1;
#=========================
------------------------------
George Tonkin
Business Partner
MCI Consultants
Johannesburg
Original Message:
Sent: Wed November 27, 2024 11:44 AM
From: Tin NGUYEN
Subject: How to access exported files (CSV) from a TurboIntegrator process in PAW (for Analyst/Consumer users)
I tried. It won't just display the headers and start directly with the first row of data. The A, B, C, D, etc will still be displayed. 😆
------------------------------
Tin NGUYEN
IBM Planning Analytics and Excel VBA enthusiast
Co-founder at Treekala
Original Message:
Sent: Wed November 27, 2024 11:36 AM
From: George Tonkin
Subject: How to access exported files (CSV) from a TurboIntegrator process in PAW (for Analyst/Consumer users)
Hi Tin, really glad to hear that it is working out for you.
I am hoping that all you need to do now is add the following to the top of Prolog:
DatasourceASCIIHeaderRecords = 1;
------------------------------
George Tonkin
Business Partner
MCI Consultants
Johannesburg
Original Message:
Sent: Wed November 27, 2024 11:29 AM
From: Tin NGUYEN
Subject: How to access exported files (CSV) from a TurboIntegrator process in PAW (for Analyst/Consumer users)
Hi George,
Thank you again for your guidance on this. I've had the chance to test the solution using ReturnCSVTableHandle()
and the drill approach, and it has resolved almost everything I was aiming to achieve.
However, there's still one small issue that remains: the first row of the exported csv file contains the column letter (A, B, C, D, E, etc). The real fields name start on the second row.
If you have any further insights or suggestions to address this, I'd greatly appreciate it. Your help has already been invaluable, and I'm almost there thanks to your advice!
Best regards,
------------------------------
Tin NGUYEN
IBM Planning Analytics and Excel VBA enthusiast
Co-founder at Treekala
Original Message:
Sent: Wed November 27, 2024 02:31 AM
From: Tin NGUYEN
Subject: How to access exported files (CSV) from a TurboIntegrator process in PAW (for Analyst/Consumer users)
Hi George,
Thank you so much for your detailed explanation and for pointing me to the ReturnCSVTableHandle() function. It's very helpful to know that this can be achieved via a drill rather than directly from the process. Sorry for my late reply but I'll review the article and test the approach you've outlined.
The idea of linking the drill to a cell or view updated by the process is particularly interesting, and I can see how it could enhance the user experience. I'll give it a try and let you know how it works in my setup.
I truly appreciate your time and guidance!
Best regards,
------------------------------
Tin NGUYEN
IBM Planning Analytics an Excel VBA enthusiast
Co-founder at Treekala
Original Message:
Sent: Mon November 25, 2024 11:00 AM
From: George Tonkin
Subject: How to access exported files (CSV) from a TurboIntegrator process in PAW (for Analyst/Consumer users)
Hi Tin,
Yes it should be possible via a drill, not currently via a process - look at this article which uses
ReturnCSVTableHandle();
This allows you to drill to a text file and based on your delimiters return it as a grid/matrix or single column.
You could link the drill to a cell or view that is updated via the process and signals the user to drill.
------------------------------
George Tonkin
Business Partner
MCI Consultants
Johannesburg
Original Message:
Sent: Sat November 23, 2024 05:36 AM
From: Tin NGUYEN
Subject: How to access exported files (CSV) from a TurboIntegrator process in PAW (for Analyst/Consumer users)
Dear community,
I hope this message finds you well. I have a question regarding IBM Planning Analytics Workspace (PAW) and TurboIntegrator processes:
Is it possible to directly access a file exported by a TurboIntegrator process within PAW for an analyst/consumer profile?
Here is the use case:
The user clicks an action button in a PAW book, which triggers a TurboIntegrator process that generates a CSV file. The goal is for the user to access or download this CSV file after the process has run.
If accessing or downloading such exported files is feasible, could you please advise on the best practices for retrieving or locating such files? Are there specific configurations, settings, or permission adjustments required to make these exported files accessible directly in the workspace, or does this require external file management?
My current setup includes PAW version 2.0.91 and a local PA environment.
Any insights or examples based on your experience would be greatly appreciated. Thank you in advance for your support!
------------------------------
Best regards,
------------------------------
Tin NGUYEN
Co-founder at Treekala
IBM Planning Analytics and VBA enthusiast
------------------------------
------------------------------