Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Alaska93
Contributor II
Contributor II

Cumule du volume des id_client dans un graphe en courbe

Bonjour chère communauté, 

Je suis nouveau sur qlik sense et je suis entrain de créer un reporting mais je suis bloqué sur le calcul d'un indicateur que je dois le représenté dans un graphe en courbe. 

En effet, dans mon jeu de données, j'ai une date d'enregistrement client ("Date_enregistrement") et l'identifiant client ("Id_client"). 

Dans la représentation  graphique, je souhaite afficher pour chaque journée, le volume des clients enregistrés dans le trois derniers jours.

Exemple: 

Alaska93_0-1642331193303.png

- pour le 09/01/2022:  6 (nombre d'id_client entre le 07/01/2022 et le 09/01/2022)

- pour le 08/01/2022: 10 (nombre d'id_client entre le 06/01/2022 et le 08/01/2022)

- ...

Merci pour votre aide

1 Solution

Accepted Solutions
JordyWegman
Partner - Master
Partner - Master

Hi,

I needed RangeSum instead of RangeAvg, but this is the correct solution right?

RangeSum(above(total  Count( Distinct Id_client) ,0,3) )

2022-01-20 15_27_42-QlikView x64 - [C__Users_cljwn_Downloads_Test.qvw_].png

Jordy

Climber

Work smarter, not harder

View solution in original post

5 Replies
JordyWegman
Partner - Master
Partner - Master

Hi Alaska,

Could you ask it in English maybe?

Jordy

Climber

Work smarter, not harder
Alaska93
Contributor II
Contributor II
Author

Hi @JordyWegman , 

I'm not comfortablein English but I'll try to explain you.

In this topic, I would like to display in a curve graph, for each day, the number of customers registered in the last three days.

For exemple (see data above): 

- for the day of 09/01/2022: I have to display '6' (number of client registered between 07/01/2022 and 08/01/2022

- for the day of 08/01/2022: I have to display '10' (number of client registered between 06/01/2022 and 08/01/2022)

...

Hope I was clear, 

All my regards.

JordyWegman
Partner - Master
Partner - Master

Hi Alaska,

You can try: RangeAvg(above(total  Count( Distinct Customer) ),0,3) ). I can’t test it right now, could you add that data in an Excel?

Jordy

Climber

Work smarter, not harder
Alaska93
Contributor II
Contributor II
Author

Hi @JordyWegman , 

Below you will find the data attached.

JordyWegman
Partner - Master
Partner - Master

Hi,

I needed RangeSum instead of RangeAvg, but this is the correct solution right?

RangeSum(above(total  Count( Distinct Id_client) ,0,3) )

2022-01-20 15_27_42-QlikView x64 - [C__Users_cljwn_Downloads_Test.qvw_].png

Jordy

Climber

Work smarter, not harder