Skip to main content
Announcements
Introducing a new Enhanced File Management feature in Qlik Cloud! GET THE DETAILS!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Pivot chart expression

Hi,

Consider the following scenario:

1. Candidate can solicitate to one or more companies

2. Each company has its own set of compliancies (criterias) the candidate needs to be checked upon.

CompanyCompliancyIDCompliancy
A1Has ID
A2Has Bachellor degree
A3IQ score higher than 100
A4No criminal record
B4No criminal record

Fact table would look something like this

CandidateIdCompanyCompliancyIDCompliant Date
1A115-5-2012
1A227-5-2012
1A331-5-2012
1A415-6-2012
2A127-6-2012
3B431-8-2012

the challenge:

show in Pivot chart, per candidate, show all compliancies with  a V mark if the candidate was compliant and X if not

if date 1-9-2012 was selected:

CandidateIdCompanyHas IDHas Bachellor degreeIQ score higher than 100No criminal record
1Avvvv
2Avxxx
3B


v

if date 31-5-2012 was selected:

CandidateIdCompanyHas IDHas Bachellor degreeIQ score higher than 100No criminal record
1Avvvx
2Axxxx
3B


x
1 Solution

Accepted Solutions
Not applicable
Author

solved it in the script, by creating an empty record for each non-filled compliancy. Ugly, but works.

View solution in original post

3 Replies
RedSky001
Partner - Creator III
Partner - Creator III

The attached qvw seems to do exactly what you have proposed it should do in the two senarios.

Am I missing something?

Mark

Not applicable
Author

Almost. If you select Kate you will see only one compliancy. I would like to see here ALL compliancies which are bounded to Google.

Knipsel.PNG

Not applicable
Author

solved it in the script, by creating an empty record for each non-filled compliancy. Ugly, but works.