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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis help required

the below one works

=Sum({

<[Customer Name] = {"=Sum(Sales) <= $(vSlidemax)"}>

}Sales)

in the hilighted string , i have to add this condition  >=$(vSlidemin)

it means i need sum(sales)  between $(vSlidemax)  and $(vSlidemin)

thanks in advance

Labels (1)
1 Solution

Accepted Solutions
sunny_talwar
MVP
MVP

Try this:

=Sum({<[Customer Name] = {"=Sum(Sales) >= $(vSlidemin) and Sum(Sales) <= $(vSlidemax)"}>} Sales)

View solution in original post

7 Replies
sunny_talwar
MVP
MVP

Try this:

=Sum({<[Customer Name] = {"=Sum(Sales) >= $(vSlidemin) and Sum(Sales) <= $(vSlidemax)"}>} Sales)

Anil_Babu_Samineni
MVP
MVP

Perhaps This

=Sum({<[Customer Name] = {"'>=' & $(vSlidemin) '<' & $(vSlidemin)"}>} Sales)

OR

=Sum({<[Customer Name] = {"'>=' & '$(vSlidemin)' '<=' & '$(vSlidemin)'"}>} Sales)

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

it works. thank you

sunny_talwar
MVP
MVP

Anil you cannot compare Customer Name to a min and max date range my friend. This is not the right way to do it brother.

Anil_Babu_Samineni
MVP
MVP

Ok Bro, Thanks for recommend me

Best Anil, When applicable please mark the correct/appropriate replies as "solution" (you can mark up to 3 "solutions". Please LIKE threads if the provided solution is helpful
Not applicable
Author

sorry  anil.

it is not working for me

sunny_talwar
MVP
MVP

No problem