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: 
ghassanaldalati
Contributor III
Contributor III

Accumulate Value on Text Box (Balance Value )

How to get all the accumulate value on and before the selected month ( As Balance Value )

on other word

all accumulate value for all period up to selected month



Plz Look to my Attachment

Labels (1)
1 Solution

Accepted Solutions
tresB
Champion III
Champion III

The working expression is: =Sum({<Year,Month, Date={'<=$(=Date(Max(Date)))'}>} Sales)

View solution in original post

7 Replies
ghassanaldalati
Contributor III
Contributor III
Author

when I select { month ( May ) - Year ( 2015) } I get all the Accumulate amount from Day 1 up to May2015 (Full ccumulate amount for all years before + 5 months on May2015)

I need the formula on TextBox

MK_QSL
MVP
MVP

Something like below..

SUM({<YourDateField = {"$(=Date(MakeDate(Max(Year),Max(Month))))"}>}Sales)

Change your field names according to your application.

tresB
Champion III
Champion III

Try something like:

Sum({<Year,Month, Date={'<=$(=Date(Max(Date)))'}>} Value)

ghassanaldalati
Contributor III
Contributor III
Author

Plz have a look to my attachment .. and help

ghassanaldalati
Contributor III
Contributor III
Author

Plz have a look to my attachment .. and help

tresB
Champion III
Champion III

The working expression is: =Sum({<Year,Month, Date={'<=$(=Date(Max(Date)))'}>} Sales)

MK_QSL
MVP
MVP

Use this..

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