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: 
jadams123
Creator
Creator

sum question

so this is my pivot table. I have expanded "Customer Claim" Code Group.

my formula for Sales_CY (Invoice only) is:

Sum( {$<GLYEAR = {$(#=MAX(GLYEAR))}, TRX_TYPE = {'Invoice'}, CREDIT_CODE = {'Yes'}>} AMOUNT )

QV.PNG

Thanks,

Labels (1)
3 Replies
sunny_talwar
MVP
MVP

May be try this:

Sum(TOTAL {$<GLYEAR = {$(#=MAX(GLYEAR))}, TRX_TYPE = {'Invoice'}, CREDIT_CODE = {'Yes'}>} AMOUNT)

jadams123
Creator
Creator
Author

perfect...it worked beautifully.

sunny_talwar
MVP
MVP

Awesome, if you got what you wanted, please close this thread by marking correct answer.

Qlik Community Tip: Marking Replies as Correct or Helpful

Best,

Sunny