Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
AH
Creator III
Creator III

Calculation of sum of values Picking up String

I have a table with a field of InvoiceID, value begins with CR and DB and i have to sum the LineAmount picking only the value start with CR.

How do i do that? Is there any clue about that?

Please suggest.

Thanks,
Shan

1 Solution

Accepted Solutions
its_anandrjs

Hi,

Try expression

=Sum( if( Left(InvoiceID,2) = 'CR' , LineAmount))

Regards

Anand

View solution in original post

3 Replies
its_anandrjs

Hi,

Try expression

=Sum( if( Left(InvoiceID,2) = 'CR' , LineAmount))

Regards

Anand

AH
Creator III
Creator III
Author

Hi Anand,

Thanks for the quick response. I got the exact answer.

I really appreciate it!

Thanks,

Shan

its_anandrjs

Hi,

Thanks, Close the thread by selection appropriate answer Correct or helpful.

Regards

Aannd