Hi,
I am looking for a way to add in my report the cross-tab tool for effective dates but change them with the following headers: Jun 2022, July 2022, etc..
Desired output are multiple files segregated by the name of the staff with file names in the following format:
Filename: AKING INA SAMPLE 1 as of August 31 2022
Staff name & "as of" reporting month (August 31, 2022) because this month (September) has not closed yet.
Kindly note that column B in the output is always "CC".
In the input file there are two staff, so the output should be two files per staff. (all dummy snapshots and file)
Solved! Go to Solution.
@PassION_es ohh great !!
@PassION_es To get the output in the proper format I think you need to add the output in a render tool. Can you try to connect a table tool and a render tool inside the macro just before the last Select tool? My Alteryx terminates when I connect the select tool output to the Table tool. The configuration should be like the below. I just wanted to see it is working for you or not
Table tool configuration
Render tool configuration
@binuacs , i'm not getting error on the workflow, however the output has no date append in the filename and the data iniside it includes FPATh column, though I already deselect it in the table too. And the total is also located in the middle of the report.
Please generated outputs for your reference. Kindly note that I removed the output file because it generated the same sets of output without formatting, but with dates in the filename:
I also tried to modify filename in the render tool from Append to Replace filename/entire path with group but it generated the same output filename and data. Maybe there's a need to be fixed in the prior tools to fix the basic and render tool.
In addition @binuacs , although I disable the container containing the output tool, still it generated the same set of outputs with dates. So the workflow after running generated two sets of data, one maybe came from the ouput (no formatting), and the other came from render tool.
Please see attached output file with no formatting.
@PassION_es If the render tool is able to generate the formatted output I think you can delete the output tool from the macro itself. Can you create a new field called sheet name and update like below
then give the original path in the render tool configuration like the below screenshot
and try to run, it should create two separate files in your specified path
let me know how it goes.
@binuacs , its kinda weird. Right now when i edited the formula tool and add the filaname field, but they no longer recognizable by alteryx. See snapshots with blank results:
After running, no outputs generated due to below error:
Attached is the updated yxmc after applying the instructions you've provided. (Note I change the table configuration from Group by staff to filename).
Hi @binuacs . The changes generated only one output (the last staff). No output generated for the first staff. Total is still in the middle of the report.
@PassION_es Sorry I made the changes in the old macro, not in the new macro. I will make the changes and share with you
No worries @binuacs . Take your time. I just also want to thank you for being so helpful.