Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
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

1 Solution

Accepted Solutions
tresesco
MVP
MVP

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.

tresesco
MVP
MVP

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

tresesco
MVP
MVP

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)