Hello Community
I have an excel dataset with 50 tabs having 48 columns in each tab. The structure of the column doesn't change but, few values of a field have a - (dash) which i think is causing an issue for Dynamic input tool. Can you please help me resolve this? I tried to build a macro but got stuck and couldn't figure out a way forward. Shall i be using a macro though for it?
Appreciate help in advance. Workflow with dummy data attached. Thanks heaps :)
Yes, you will have to use macro for this scenario.
Why? Because in one sheet you have just normal letters, while in another sheet you have special characters like -. What happens?
Normal characters will result is data type v_string, while data with special character will result in v_wstring. These two have different ways they handle string. So, you get schema error.
Hi @udles5666 have a look at the solution from this post it uses two batch macros the first get a list of the sheets so it's dynamic then a formula tool builds the filepath including the sheets and then retrieves all the data from those sheets.
Just an idea - maybe you could use an input tool in the batch macro and then just give the file path of those 50 tabs, which can be generated by a formula tool in Alteryx. If this helps, feel free to like the comment and select as a solution
User | Count |
---|---|
106 | |
85 | |
76 | |
54 | |
40 |