Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
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

1 Solution

Accepted Solutions
sunny_talwar

How about this:

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

View solution in original post

3 Replies
sunny_talwar

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)