Skip to main content
Announcements
July 15, NEW Customer Portal: Initial launch will improve how you submit Support Cases. IMPORTANT DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

New to qlikview - expression help please


Please can someone help me with an expression.

Fields:

Material

New Product  (either 1 or 0)

Sales Value

I want to create an expression to calculate the total value of a material where the New Product field contains 1.

I appreciate this is very easy but I'm a complete newbie

Thank you!

1 Solution

Accepted Solutions
tresesco
MVP
MVP

Sum({<[New Product]={1}>} [Sales Value])

View solution in original post

4 Replies
tresesco
MVP
MVP

Sum({<[New Product]={1}>} [Sales Value])

ashfaq_haseeb
Champion III
Champion III

Hi,

Try below

Dimension

Material

Expression:

Sum({<[New Product]={1}>}[Sales Value])

Regards

ASHFAQ

SunilChauhan
Champion II
Champion II

Sum({<[New Product]={'1'}>} [Sales Value])


or


sum(if(New Product]=1 ,[Sales Value]))

Sunil Chauhan
Not applicable
Author

Try this:

=Sum({$<[New Product] = {1}>} Material)

Hope it helps!