I'm looking to output a csv from a table in Qlik using the store command, but want a file per row in my table.
So in the example above, I'd like to output 3 csv files, ideally with the Customer Column as the file name.
Any suggestions welcome.
Load Distinct Customer From XYZ;
Let vCount = noofrows('Temp');
For i=0 to $(vCount)-1
Let vCustomer = peek('Customer',$(i),'Temp');
Load * from xyz where Customer = $(vCustomer);
Store $(vCustomer) into $(vCustomer).csv(txt);
Drop Table $(vCustomer);
Drop table Temp;