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

Announcements
Discover the Trends Shaping AI in 2026: Register Here!
cancel
Showing results for 
Search instead for 
Did you mean: 
rushi1093
Contributor II
Contributor II

show all the columns in a table.

Please help as to how to keep all the fields on the table irrespective of any filters applied...for eg. if I have abc, pqr, xyz value in first column, and their corresponding sales and volume in column in 2 and 3 respectively. So I want to see all abc, pqr, xyz on left(1st columm) whether or not their sales and volume value is zero. 

Labels (1)
2 Replies
vinieme12
Champion III
Champion III

The problem is where you are sourcing the dimension from

In such scenario  you should be sourcing dimensions from a separate dimension table which has all possible dimension values, like below.

facttable:
Load * Inline [
dimkey,dim2,measure
A,A,10
C,C,5
];

 


dimensiontable:
Load * Inline [
dimkey,dim
A,A
B,B
C,C
];
exit Script;

 

Now create a chart with dim from dimensiontable; sum(measure) and check Include Zero Values

 

Do not use key fields used to associate tables as dimensions in your chart

 

both tables have Include zero values checked, but as you can see dim sourced from a separate dimensiontable will show 0 when there is no associated data 

vinieme12_0-1651051015394.png

 

Output

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.
vinieme12
Champion III
Champion III

@rushi1093 kindly close the thread by marking a response as solution if your problem is resolved

Vineeth Pujari
If a post helps to resolve your issue, please accept it as a Solution.