Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi All,
I've this issue:
Excel sheet with some columns that contains basic information about activities and several columns with dates that contains activity planning
Ex.
columns --> Activity Type; Activity description; Stard date; End Date; 01/01/2019; 01/02/2019; 01/03/2019 ....
values --> ACT001; Car Production; 01/01/2019; 01/20/2019; 0; 1; 2; ....
I would like to upload those information into a tab that will have
Activity Type; Activity description; Stard date; End Date; Reference date; Calue
ACT001; Car Production; 01/01/2019; 01/20/2019; 01/01/2019; 0
ACT001; Car Production; 01/01/2019; 01/20/2019; 01/02/2019; 1
ACT001; Car Production; 01/01/2019; 01/20/2019; 01/03/2019; 2
Basically I want to dinamicalli read all the columns with dates and transpose them into row
I hope I was clear in the request
Hello,
load the script below, the result is:
Directory;
Table:
CrossTable([Ref date], Value, 4)
LOAD [Act Type],
[Act descr],
Start,
end,
[43466],
[43467],
[43468],
[43469],
[43470],
[43471],
[43472],
[43473],
[43474],
[43475],
[43476],
[43477],
[43478]
FROM example.xlsx (ooxml, embedded labels, table is INPUT);
STORE Table into Example.qvd(qvd);DROP Table Table;
Directory;
LOAD
[Act Type],
[Act descr],
Date(Start,'DD/MM/YYYY') as Start,
Date(end,'DD/MM/YYYY') as end,
Date(num#([Ref date]),'DD/MM/YYYY') as [Ref date] ,
Value
FROM Example.qvd(qvd);
tell me if the solution served you.
No this is the issue, it may be 10 as it may be 100
I need to read the full sheet check which columns are filled and after apply the logic
Do you have any idea?
In case instead I'll be able to fix to 100 or something like that how can I solve the issue?
unfortunatelly no way to change the excel 😞