Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: jpstoryHi
I need to loop through 30 files for the records that meeting certain criteria and then remove duplicate on 'Model' field to find the file that has the highest count.
I can do it on a single file (import data, and set up filter etc.), but could not figure out how to it on 30 files and keep track of which file has the highest volume.
csv file, same format, received daily
File Content/Format: Region:String (US, UK, HK), Product: String (Cellphone, Tablet, PC), Quantity: Int ( >=0 ), Producer: String ( A, B, C, D)
Region:String Product:String Quantity:int Producer:String Model: String
US Cellphone 119 A A1G356G33
UK PC 176 B A1G356G34
HK Tablet 199 C A1G356G33
UK PC 56 D A1G356G34
US Cellphone 61 B A1G356G37
UK Tablet 121 C A1G356G34
US PC 102 A A1G356G39
HK Tablet 136 D A1G356G34
UK Cellphone 113 D A1G356G41
US PC 123 C A1G356G34
HK Cellphone 135 A A1G356G43
US Tablet 114 B A1G356G33