Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register 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