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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Summing the prior month

The syntax here for summing the records for the previous month is not working.

Any suggestions on the correct syntax

=Sum ({$<[Period (FDPERD)]={"=(only([Period (FDPERD)]))-1"}>}[TR Outstanding (TROUTV)])

Thank you



Labels (1)
1 Solution

Accepted Solutions
Not applicable
Author

You could try:

sum( {$<Period= {"$(=Num(Period-1))"}>} [TR Outstanding (TROUTV)])

View solution in original post

2 Replies
Not applicable
Author

You could try:

sum( {$<Period= {"$(=Num(Period-1))"}>} [TR Outstanding (TROUTV)])

Not applicable
Author

I have 2 suggestions for you:

sum( {$<[Period (FDPERD)] = {$(=Only([Period (FDPERD)])-1)}>} [TR Outstanding (TROUTV)])


or

sum( {$<[Period (FDPERD)] = {$(#=Only([Period (FDPERD)])-1)}>} [TR Outstanding (TROUTV)])


Hope these work!

Best,

Maya