Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Need help on count the customers in straight table

Hi Experts,

Need to count the active customers in straight table.

Active customer:

Active Customers are who made sale twice in the last three months.

how to write expression for this??  Help is much appreciated.

Regards,

Raju

1 Solution

Accepted Solutions
Kushal_Chawda

Hi,

As per the Data I have considered the Year as 2014.

Do you need count of customer who made sales twice or more than twice? I have considered twice.

Please see the attached file. !

View solution in original post

7 Replies
Kushal_Chawda

Please post the sample data

Anonymous
Not applicable
Author

Hi Please find the sample data.

jagan
Luminary Alumni
Luminary Alumni

HI,

Try like this

=Sum(Aggr(If(Count({<{Year=, Month, Quarter=, Date={'>=$(=MonthStart(Today(), -2))<=$(=MonthEnd(Today()))'}>} TransactionID) > 1, 1), Customers))

Regards,

Jagan.

Anonymous
Not applicable
Author

Many Thanks Jagan I'll Try it.

Regards,

Raju

Kushal_Chawda

Hi,

As per the Data I have considered the Year as 2014.

Do you need count of customer who made sales twice or more than twice? I have considered twice.

Please see the attached file. !

Anonymous
Not applicable
Author

Thanks a lot brother....

qlikviewwizard
Master II
Master II

Hi jagan,

Good trick.