Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
qv_testing
Specialist II
Specialist II

Issue with date mapping

Hi Community,

I have Employee table(Manual report, someone entering the data), by default Employee table associating with EmpID to main table,

My requirement

few data not mapping because few data not associating Date level, but I have to show all records for all months.

My Idea, can we create one derived column for all the months in the script level, then I can map EmpID & Date key??

Example:    Jan 2018 full data set, Feb 2018 full data set  and so on....... till Dec 2018

EmpIDCostEmpNameDate (Derived Column)
1000275Adrian DobsonJan 2018
1001550Alan GrantJan 2018
1002386Alison LevermoreJan 2018
1003375Andy NorthJan 2018
1004221Antony PowellJan 2018
1005699Charles CowlingJan 2018
1006154Chris O'HareJan 2018
1007245Craig WalkerJan 2018
1008252David CarterJan 2018
10090Daniel JarmanJan 2018
1010391David BennettJan 2018
1011206Deepa GajpariaJan 2018

Please could you give suggestion Experts ??

Thanks In Advance.....

4 Replies
kfoudhaily
Partner - Creator III
Partner - Creator III

what is the rule to determine(calculate) this column: Date (Derived Column)?


QlikView Qlik Sense consultant
qv_testing
Specialist II
Specialist II
Author

I have Employee table, they are entering manually, so I don't have date field. (No rules)

I'm fetching only EmpName in this table, calculation fields coming from different tables.

Just I have to loop all the Year and Month level data.... like above mentioned

qv_testing
Specialist II
Specialist II
Author

Experts!! is there any possibility like full data set loop..

Please suggest

marcus_sommer

You could do something like this:

for i = 1 to 12

     t: load EmpID, Cost, EmpName, $(i) as Month from Excel;

next

But creating a key of EmpID and Month is only useful if there are appropriate data within your other tables ..

- Marcus