Skip to main content
Announcements
Live today at 11 AM ET. Get your questions about Qlik Connect answered, or just listen in. SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Error of Using Count in the Expression

Hi,

I Want to get the customers details who purchased only once.All details about the customer purchase in orders table i took the customerID from orders table as OrderedCustomers. To find the customers  and amount of purchase who purchase only one  time i use the following expression

=Sum({<Count(OrderedCustomers)={1}>}NetPrice)

But it shows Error can any one help how to get the customers purchase only onetime.(Net price is the amount where UnitPrice * Quantity - Discount )

1 Solution

Accepted Solutions
Not applicable
Author

Hi,

Use IF Statement.

If(Count(OrderedCustomers)=1,Sum(NetPrice))

Thanks

View solution in original post

2 Replies
Not applicable
Author

Hi,

Use IF Statement.

If(Count(OrderedCustomers)=1,Sum(NetPrice))

Thanks

Not applicable
Author

Thankyou umeshjadhav