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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
berryandcherry6
Creator III
Creator III

Applying Not In for multiple Tables

Hi,

i have 3 tables

Table1:   

UserIDCourseCompletedADClicked
3411
4310
4511
4600
4700
4810

//above table contains  CourseCompleted and Not CourseCompleted Users

Table2:   

DownloadIDUserIDdownloaded
23340
24430
25452
28483

//above table contains only CourseCompleted Users


Table3:

UserIDtypeID
347
4323
4523
4623
4723
486
455
464
4823

//above table contains  CourseCompleted and Not CourseCompleted Users

Here i Need to get below Counts:

1.) Count of ADClicked by CourseCompleted users only.

2.) Count of downloaded by CourseCompleted users only.

3.) Count of CourseCompleted users only who has typeID = 23.

4.) Count of CourseCompleted users who has not involved in any of above actions .

13 Replies
vinieme12
Champion III
Champion III

ok, just checked you app  <<MODIFIED>>

here you go

=count({<

UserID -= {"=sum({1<CourseCompleted={1}>}ADClicked)>0"}>

*

<UserID -= {"=sum({<CourseCompleted={1}>}downloaded)"}>

*

<UserID -= {"=count({<CourseCompleted={1},typeID={23}>} DISTINCT UserID)"}

>}

distinct UserID)

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

sample app

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

Hi Vineeth,

Sorry for delay Response. 

It works and getting correct output.

See attached App of slightly different Requirement, i am applying same logic over here, But get wrong output.

I should get 22 in NO action.  But displays 2.

vinieme12
Champion III
Champion III

Hi, Sorry i'm on vacation

If you open a separate thread, someone will surely assist you

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