Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

file reading macro does not read all data

yuanlu
7 - Meteor

My app with a file reading Macro only read data from the first file, even it show it picked up 2 file while executing. Can anyone please help me to find out what the problem is?

7 REPLIES 7
yuanlu
7 - Meteor

To add, I tried both executing it as analytical app or workflow, it did the same.

binuacs
21 - Polaris

@yuanlu Add a browse tool after the macro in your workflow and try running 

binuacs
21 - Polaris

@yuanlu Also I think you need to pass the sheet name along with the full path as the input to the macro .

 

binuacs_0-1653325725314.png

 

yuanlu
7 - Meteor

Hi Binuacs, I cannot open your file. It says your app was created by a newer version Alteryx. 

binuacs
21 - Polaris

@yuanlu I just added a formual tool and updated the FullPath variable

[FullPath] + '|||templates'

 

binuacs_0-1653334379316.png

 

yuanlu
7 - Meteor
it did not solve the problem, it still just red data from the first file
binuacs
21 - Polaris

@yuanlu Did you add the browse tool after the macro. I am getting the below record counts from both the files. If you are using the older version of Alteryx and to open the attached one , first open the attached workflow in a notepad ++ and change the version (will be in the top of the page) to your workflow version

 

 

binuacs_1-1653337422467.png

 

binuacs_0-1653337218604.png

 

Labels
Top Solution Authors