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

Help with set analysis

Dear all,

I've to calculate how many customers have sales order value <> 0 in percentage , matching this value with the total customer number

Total customers:                                        10000

Total customers with sales order amount:     2000          PErc.  20%

I've prepared one table where I joined customers and orders and I'm trying without success the following:

count({<{"=Sum(OrderValue) <> 0"}>} distinct Customer )

but it doesn't work

What can I do ? Help please !!

Thanks in advance

4 Replies
fdelacal
Specialist
Specialist

Trie with this.

hope it helps you.

regards.

=num(

count( {$<OrderValue <> {'0'}>} Customer ) /

count( {$<OrderValue = >} Customer ),'#,00%')

Anonymous
Not applicable
Author

I'm sorry but it doesn't work

Thanks

fdelacal
Specialist
Specialist

can you add me a qvw sample?

regards,

Anonymous
Not applicable
Author

Unfortunatly I can't