Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Key field question

Hi QV Community,

I have the following question:
I am loading two tables and Left Join them. One table has estimating data and the other table has costing data (please see attached excel file). My key field is the cost center (need this for my reports as key). To generate additional reports, I would need basically a different key by loading the data, meaning the job number.

I have the job number in both tables (just a different name). In the attached QV file I loaded the Excel file and I would like to be able to select the JobE and see the right costing and estimating times attached to it.

Right now, I can do it for the cost center, but not by job. My question, is this possible and if yes, how could I do it? I played around with Set Analysis, but without any success.

Thanks for your help,

Oliver

1 Solution

Accepted Solutions
pover
Partner - Master
Partner - Master

Oliver,

Try then to use the following formula for Job Costing. A screenshot of the result is below.

sum({$<[JobE]=,Job=P(JobE)>} total Time)

Regards.

View solution in original post

4 Replies
pover
Partner - Master
Partner - Master

Try joing the 2 tables with both keys in the following fashion:

LOAD JobE & '_' & [Cost Center] as Key,
JobE,
Customer,
[Cost Center],
[Estimating Time]
FROM
Book2.xls
(biff, embedded labels, table is Jobs$);

LOAD Job & '_' & [Cost Center] as Key,
//Job,
//[Cost Center],
Time
FROM
Book2.xls
(biff, embedded labels, table is JobCosting$);

Regards.

Not applicable
Author

That doesn't work. The problem I have is, that the job can be estimated with a different cost center. Meaning, the job can be estimated with Cost Center A and run later for the costing on Cost Center B.

Thanks,

Oliver

pover
Partner - Master
Partner - Master

Oliver,

Try then to use the following formula for Job Costing. A screenshot of the result is below.

sum({$<[JobE]=,Job=P(JobE)>} total Time)

Regards.

Not applicable
Author

Hi Karl,

this works, thanks!

Oliver