Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Chanty4u
MVP
MVP

RE:Selected range

hi,

how to bring cumulative sum based on selected range

consider am selecting 03/12/2105 ; I need sales till that date not YTD?

Any idea?can anyone suggest?

thanks in advance

1 Solution

Accepted Solutions
MK_QSL
MVP
MVP

Consider that you have selected 03/12/2105

If you want 01/01/2015 to 03/12/2015, use

SUM({< Year=, Quarter=, Month=, Week=, Date = {">=$(=YearStart(Max(Date)))<=$(=Max(Date))"}>}Sales)


If you want min Date to 03/12/2015, use

SUM({< Year=, Quarter=, Month=, Week=, Date = {">=$(=Min({1}Date))<=$(=Max(Date))"}>}Sales)


View solution in original post

12 Replies
MK_QSL
MVP
MVP

SUM({< Year=, Quarter=, Month=, Week=, Date = {">=$(=YearStart(Max(Date)))<=$(=Max(Date))"}>}Sales)

Chanty4u
MVP
MVP
Author

thnx manish...

but its giving only selected value sum; not till date

MK_QSL
MVP
MVP

Consider that you have selected 03/12/2105

If you want 01/01/2015 to 03/12/2015, use

SUM({< Year=, Quarter=, Month=, Week=, Date = {">=$(=YearStart(Max(Date)))<=$(=Max(Date))"}>}Sales)


If you want min Date to 03/12/2015, use

SUM({< Year=, Quarter=, Month=, Week=, Date = {">=$(=Min({1}Date))<=$(=Max(Date))"}>}Sales)


Anonymous
Not applicable

try this:

=SUM({< Year=, Quarter=, Month=, Week=, Date = {'<=$(=Max(Date))'}>}Sales)


It will give you till date only

Chanty4u
MVP
MVP
Author

can v create an tool tip for list box witout caption?

Anonymous
Not applicable

Tool tip?

like this?

Tool Tip

Anonymous
Not applicable

for tool tip:

Properties -> Caption -> HelpText (Right Bottom)

Chanty4u
MVP
MVP
Author

hi manish,

dis is also not shwng the sum till date?  any other solution?

Chanty4u
MVP
MVP
Author

not wrkng balraj...