This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
I need to create a new header from existing WF, current header is current_month & previous_month from two different month files, but need to add file name to this headers so that respective month name will come. below is the input and output format
It is almost there, I am getting month from the file name so I use the output as file name and do a text to column. I will have two files and will read the file name as month name and then add this to the existing header. Current time wont work because we are running the file same time. I hope I made it clear.
Here I've read in both files (reading in the file name), and unioned the info together. Text to columns isolates the month from the file name. A DateTimeParse will extract a date field that can be used in a sort, to get the order in as previous then current. A Multi row formula tool creates the headers to be used in the following Crosstab tool. Finally, Select to put everything in order.
You'll likely need to adjust the Text to Columns, DateTimeParse, and potentially the Multi Row formula tools to