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

Need logic implementation help

Hi,

I have a data where customer call from his phone number. Whenever he calls, there will be unique case ID with multiple session IDs.

Here I want to know who is customer calling more than one time to solve his issue. If case ID changes for same phone number, means customer called again.

Here this data is only for same complaint from same customer. (He is not calling for another problem)

How can i get count of customers who called more than one time. Here I have two customers called twice from the same phone number. 999999999 and 888888888.

    

Session_IDCase_IDPh_NoReason for next session
1111999999999Ph Tranfered
2111999999999
3222888888888Ph Tranfered
4222888888888Ph Tranfered
5222888888888
6333666666666Ph Tranfered
7333666666666
8999888888888New call
9369999999999New call
10369999999999

Thanks.

1 Solution

Accepted Solutions
PradeepReddy
Specialist II
Specialist II

try some thing like this...

=count(distinct if(aggr(count(DISTINCT Case_ID),Ph_No)>1,Ph_No))

View solution in original post

3 Replies
PradeepReddy
Specialist II
Specialist II

try some thing like this...

=count(distinct if(aggr(count(DISTINCT Case_ID),Ph_No)>1,Ph_No))

MarcoWedel

please post your expected result.

regards

Marco

raju_salmon
Creator II
Creator II
Author

Hi Macro,

I need to know the count of customers who called multiple times (based on different CASE ID),

Here customers 888888888 and 999999999 called twice. I need result as 2.

Pradeep solution is working. Do you want to give any different solution?

Thanks.