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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
shirleyc40
Creator
Creator

Table missing a row because it is linked to a table without that row

I'm loading data from a SQL server and in the data model viewer,  I have this: 

shirleyc40_0-1594845403055.png

in which the tier field is linked with another table with the tier field, but that second table doesn't have 3B in the tier field, so when I try to display the tier as a dimension, 3B is missing. How can I avoid this

 

Labels (1)
5 Replies
lironbaram
Partner - Master III
Partner - Master III

Hi

if the value is existing in the Tier Field in either of the tables 
the only reason it won't appear in a dimension is if you made a selection that he is not included in ,
or he has a value of zero in the expression so it doesn't appear in the table 
can you show your table structure 

shirleyc40
Creator
Creator
Author

Hi. These are the two tables that are liked: 

shirleyc40_0-1594904287780.png

shirleyc40_3-1594904936995.png

 

And in my straight table: I have (ideally)

TierSum(1ATierCount)Count ({<Event = {'RatingRequest'}>} distinct CustomerID)
3A  
3B  
3C  

 

 

 

siddharthbanerjee1998
Contributor III
Contributor III

Hi, 

Based on your explanation and the sample data that you have shared, I have replicated the same in Qlik Sense. Below is the data model screenshot from the data model viewer. 

siddharthbanerjee1998_0-1594913046348.png

Using this model, I populated a straight table in the front-end with the same dimensions and expressions that you have mentioned:

siddharthbanerjee1998_1-1594913136884.png


However, I see that all Tier values get populated as it is supposed to. Is this not happening in your straight table?

Regards, 

Siddharth

shirleyc40
Creator
Creator
Author

That's weird, i think something might be wrong with my version of Qlik sense because it works occasionally ...

siddharthbanerjee1998
Contributor III
Contributor III

Ohh, that is quite odd

In case you're still facing this issue, do let me know and I'll try to resolve it!

Thanks!