I need to populate data based on date period and change the column formation, so my data can be read by Qlik Sense, a business intelligence program. So i have data below with file name "axn". This file name then will be fill in a new column named 'store'.
promo start date end date item discount stock
a 30/08/19 02/09/19 ax 15% 200
a 30/08/19 02/09/19 bx 15% 200
a 27/08/19 27/08/19 cx 25% 200
a 27/08/19 27/08/19 dx 15% 200
b 03/09/19 10/09/19 ex 15% 200
b 04/09/19 04/09/19 fx 15% 200
to be like this:
store promo date item discount stock
axn a 30/08/19 ax 15% 200
axn a 31/08/19 ax 15% 200
axn a 01/09/19 ax 15% 200
axn a 02/09/19 ax 15% 200
axn a 30/08/19 bx 15% 200
axn a 31/08/19 bx 15% 200
axn a 01/09/19 bx 15% 200
axn a 02/09/19 bx 15% 200
axn a 27/08/19 cx 25% 200
axn a 27/08/19 dx 15% 200
axn b 03/09/19 ex 15% 200
axn b 04/09/19 ex 15% 200
... continue as above
axn b 09/09/19 ex 15% 200
axn b 10/09/19 ex 15% 200
axn b 04/09/19 fx 15% 200
anyone know how to do this? many thanks in advance