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

Writing syntax

Can you please help me write a set analysis expression for the following problem.

Table contains fields : Bill no. , Customer name and invoice amount

I would like to query the total invoiced amount for customers who have only one invoice against their name.

thank you

1 Solution

Accepted Solutions
Not applicable
Author

I think you need []

SUM({<Customer ={"=Count(DISTINCT [Bill #])=1"}>} [Invoice Amount])

View solution in original post

8 Replies
Not applicable
Author

=SUM({<custumer={"=Count(DISTINCT billno)=1"}>} value)

Not applicable
Author

Thank you so much for your prompt reply.

i used the following as these are the exact field names

SUM({<Customer ={"=Count(DISTINCT Bill #)=1"}>} Invoice Amount)

but it says error in expression

Not applicable
Author

I think you need []

SUM({<Customer ={"=Count(DISTINCT [Bill #])=1"}>} [Invoice Amount])

Not applicable
Author

Thank you so much it works well..

Not applicable
Author

Realy Good

Not applicable
Author

mark as correct the answer to that community get organized

Not applicable
Author

I have marked it as Helpful. Didn't find any other option. Hope this is what was expected.

Thanks again

Not applicable
Author

all correct!