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

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
madhuqliklondon
Creator II
Creator II

Count orders with discount

Hi All,

I want to Count orders with discount only.

I have field names [Order number] ,[Sales amount] and [Discount amount].

Thanks in advance.

1 Solution

Accepted Solutions
YoussefBelloum
Champion
Champion

Hi,

you can try this:

Count( {<[Order number]={"=sum( [Discount amount])>0"}>} [Order number])

View solution in original post

3 Replies
YoussefBelloum
Champion
Champion

Hi,

you can try this:

Count( {<[Order number]={"=sum( [Discount amount])>0"}>} [Order number])

Digvijay_Singh

May be this -

Count({<[Discount amount={">0"}>}distinct [Order number] )

shiveshsingh
Master
Master

Count(if([Discount amount].)>0,[Order Number])