Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

set analysis - sum from the beginning of the month

i am trying to create a column that contain sum of a field from the beginning of the month until today.

for example, if today is october 6th, i want it to sum from october 1st until october 6th.

1 Solution

Accepted Solutions
Gysbert_Wassenaar

Try: sum({<MyDate ={'>=$(=date(monthstart(today())))<=$(=date(today()))'}>} MyAmount)


talk is cheap, supply exceeds demand

View solution in original post

4 Replies
Anonymous
Not applicable
Author

Mor


Try     =Sum({<[DateField] ={">=$(=monthstart(today()))<=$(=date(today()))"}>} [ValueField])


Best Regards,     Bill

Not applicable
Author

Hi,

Try this.

Sum({<vDate= {'>=$(=MonthStart(Today()))'}>} vSales)

Gysbert_Wassenaar

Try: sum({<MyDate ={'>=$(=date(monthstart(today())))<=$(=date(today()))'}>} MyAmount)


talk is cheap, supply exceeds demand
Not applicable
Author

Hi,

PFA Qlikview and Excel,

Hope it will helps you