Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
mario2
Contributor
Contributor

Display always total records without reading X-Axis in bar

Hi,

These is a sample of my dataset (two tables):

Table1 (Records of users and when they were created):

User IDDateCreatedUserData
120/01/2019...
220/01/2019...
320/02/2019...
404/03/2019...

 

Table2 (Records of users and when they are buying):

User IDPurchaseDateAmount
125/01/2019...
125/02/2019...
127/02/2019...
225/02/2019...
325/02/2019...
328/02/2019...
101/03/2019...
108/03/2019...

 

I want to display how many distinct users are buying per month and compare it with the total numbers of user existing.

Following the previous example, it should look something like that

- Blue = Users Puchasing
- Green = Total Users
- Axis = Month(PurchaseDate)

Captura de pantalla 2019-11-21 a las 13.22.43.png

The problem that I am having is that any formula that I try to count the UserIDs is filtered due to the relationship UserID-UserID from both tables. So whenever I try a count, since for example the UserID 4 it's not in the table at all, it doesn't count it. 

Any idea how to solve that?

 

0 Replies