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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
albz91184
Contributor
Contributor

Table joins and data viewed in qlikview

I have table joins from 2 different tables and they work, I was just wondering if there was a way to display values in QlikView based on the joining column so it will display values even where there aren't any.  In this example I have two different table and I want to display null values where the NAME exists but there is no action or timestamp.  My idea is that if I create an expression that shows the time since the timestamp will be subtracted from the current date and show how mush time between the two, which I have working now.  I would also like the names that exist with the shift to appear as null or not opened or to place a timestamp that is 6 months ago and subtract that.  I'm not sure if I have to do this with my query before QlikView or if QlikView can do this for me.  I have different item number in table 2 but all the names exist.

Table 1

NAMEShift
TomA
BobA
JohnA
MikeB
LiamB
WillB

Table 2

NAMEACTIONTIMESTAMPITEM
BobOpen3/1/2019 3:051234
JohnOpen3/2/2019 3:051234
MikeOpen3/3/2019 3:051234
TomOpen3/4/2019 3:05

1234

TomOpen7/19/2018 0:005678
LiamOpen7/20/2018 0:005678
WillOpen7/21/2018 0:005678
MikeOpen7/22/2018 0:005678
1 Reply
chrismarlow
Specialist II
Specialist II

Hi,

You could try a trick of adding an expression and hiding it. So add Only(NAME) as your expression & then on 'Presentation' tab select the column & then hide column;

20190806_1.png

Cheers,

Chris.