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

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
300sss300
Creator
Creator

SUM IF (FROM TO)

I have lets say 100 customers under the Field name "Customer Number" in excel sheet.

I want to see sum in chart of only customers from 15 to 26.

What will be the expression If I want to use "Sum (If([Customer Number].........................."

or If I use PICK Function

Best Regards

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

How about this:

Sum({<CustomerNumber = {'>=15<=26'}>} Sales)

View solution in original post

3 Replies
sunny_talwar
MVP
MVP

How about this:

Sum({<CustomerNumber = {'>=15<=26'}>} Sales)

Anonymous
Not applicable

use set analysis

sum({<[Customer Number]={'>=15<=26'}>} ...

pls try

Anonymous
Not applicable

Hi

you can try with set analysis provide  'Customer Number' contains  numbers 1...........15.....26 and assuming aggregation on  'sales'

sum (  { <Customer Number={">=15<=26"}>  }sales)