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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Sum by Year

I want to show sum by all year and doesn't change on user selection

1 Solution

Accepted Solutions
ramkrishna86
Creator II
Creator II

Sum({1<Year={$(=Year)}>}Sales)

View solution in original post

3 Replies
dwforest
Specialist II
Specialist II

use Set Analysis

Sum({1<Year={'2018'}>} Amount)

balabhaskarqlik

On Irrespective of Selection:

=Sum({1<Year = {'2018'}>}Sales)

On excluding current selections:

=Sum({1-$<Year = {'2018'}>}Sales)

on all years:

=Sum({<Year = >}Sales).

ramkrishna86
Creator II
Creator II

Sum({1<Year={$(=Year)}>}Sales)