Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
JMAROUF
Creator II
Creator II

count expression with conditions

hello every one,

i have an issu with this expression : 

=num(count({1 < [field1]={'val1','val2','val3','val4','val5','val6','val7','val8,'Val9','val10'},
[field2]={'>0'},[field3]={'>0'} >} distinct target),'# ##0')

 

it gives a wrong result.

Labels (3)
1 Solution

Accepted Solutions
Prashant_Naik
Partner - Creator II
Partner - Creator II

Hi,

This might help, I have bold the changes

num(count({1 < [field1]={'val1','val2','val3','val4','val5','val6','val7','val8,'Val9','val10'},
[field2]={">0"},[field3]={">0"} >} distinct target),'# ##0')

Regards,

Prashant

View solution in original post

4 Replies
trdandamudi
Master II
Master II

Please give a try with the below expression:

=count({1<field1={'val1','val2','val3','val4','val5','val6','val7','val8','Val9','val10'},field2={'>0'},field3={'>0'} >} distinct target)

Hope this helps.

 

Prashant_Naik
Partner - Creator II
Partner - Creator II

Hi,

This might help, I have bold the changes

num(count({1 < [field1]={'val1','val2','val3','val4','val5','val6','val7','val8,'Val9','val10'},
[field2]={">0"},[field3]={">0"} >} distinct target),'# ##0')

Regards,

Prashant

sasiparupudi1
Master III
Master III

Please post a sample app..

 

JMAROUF
Creator II
Creator II
Author

hello @trdandamudi

thank you for the try but it doesn't solve the problem yet, the result is 0 !!