Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Set analysis

Hi,

How can I write the following expression so that I can include several account numbers?

sum({$<Account={'4645'}>}ClaimCost)

I would like the sum of account 4643, 4644, 4645, 4646, 4647, 4648 and 4649.

Thank you!

1 Solution

Accepted Solutions
rittermd
Master
Master

Try this

sum({$<Account={'4645',"4643","4644","4646","4647","4648","4649"}>}ClaimCost)

View solution in original post

4 Replies
robert_mika
Master III
Master III

sum({$<Account={'4645','4644'.....}>}ClaimCost)


or create a variable


sum({$<Account={$(vAcc)}>}ClaimCost)



Capture.PNG





rittermd
Master
Master

Try this

sum({$<Account={'4645',"4643","4644","4646","4647","4648","4649"}>}ClaimCost)

sunny_talwar

Or even without single quotes:

Sum({$<Account={4645, 4643, 4644, 4645, 4646, 4647, 4648, 4649}>}ClaimCost)

Anonymous
Not applicable
Author

Thanks for your quick reply everyone!

It works with double quotes, single quotes and also without quotes.