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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Create missing records in QlikView

Hi guys,

I hope you can help me with this issue.

I have the following table:

A:

Load

StudentID,

[Course Name],

Status

From Table.qvd (qvd);

Status is a field that I have calculated based on the Couse Name. The values in that field are 1 and 0. Basically what I have done to calculate this is search if a course has completed Phase 1, put 1 then 0. If a student has completed Phase 2, put 1 then 0. Same for phase 3 and phase 4.

-Phase 1

-Phase 2

- Phase 3

- Phase 4

I will always have those 4 states that I have created. In my design I want to create a pivot table that looks like this. I want to replace those 1 and 0s by coloring the cell of the table. The objective of this presentation is to let the user know who are the 0s (the ones missing training)

 

StudentIdCoursePhase 1Phase 2Phase 3Phase 4
1A1100
1B1111
2A1000
2B1110

The problem that I have is that when I select a student that does not have 1s in all their phases, the dimension is gone. For example, if I select StudentI=1 and Course=A, I lose Phase 3 and Phase 4.

 

StudentIdCoursePhase 1Phase 2
1A1

1

This is not a matter of populating z,eros. It is because for that specific record Phase 3 and Phase 4 status do not exist in the data, how do I achieve to see the records when data is missing?

I would like to achieve this from the script and really trying to avoid any calculated dimensions.

Any advice is much appreciate it.

Thanks!

Paula

3 Replies
m_woolf
Master II
Master II

sunilkumarqv
Specialist II
Specialist II

Kushal_Chawda

Have you tried  unchecked "suppress zero values" in presentation tab of Pivot table?