Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi!
I need to count Fieldn..only if field1 =-2 and field2 <> -1 and field3 <> -1 and field4 <> -1 ...then I get Error in expression..Tk in advanced.
COUNT (IF(Field1='-2' ,Field2<>'-1' ,Field3<>'-1' ,Field4<>'-1'),Fieldn)
JMC
Mayil;
I have been checked your demo already and it works fine....
but with my expr..doesn´t work.
How can I attach some data that I am using? , Tk in advanced!
COUNT ({<ESSIMATCH={'-2'} ,ESNOMATCH-={'-1'} ,ESNOMATCH1-={'-1'} ,ESNOMATCH2-={'-1'}>}ESremision)
JMC
Try this
COUNT ({$<Field1={-2} ,Field2-={-1} ,Field3-={-1} ,Field4-={-1}>}Fieldn)
HI
Try like this
COUNT ({<Field1={-2} ,Field2-={-1} ,Field3-={-1} ,Field4-={-1}>}Fieldn)
Hope it helps
Hello: This is an ex. The result must be 444 and these expr are counting something else...Tks.
Fieldn | Field1 | Field2 | Field3 | Field4 |
222 | -2 | -1 | -1 | -1 |
222 | -2 | -1 | -1 | |
222 | -2 | -1 | ||
222 | -2 | -1 | -1 | |
222 | -2 | -1 | ||
222 | -2 | -1 | ||
222 | -2 | -1 | -1 | |
222 | -2 | |||
222 | -2 | |||
444 |
Sorry ....The result must be 2 I am using count not sum
HI
Try
COUNT ({<Field1={'-2'} ,Field2-={'-1'} ,Field3-={'-1'} ,Field4-={'-1'}>}Fieldn)
Edit:
PFA
Hope it helps
Mayil;
COUNT({<ESSIMATCH={'-2'} ,ESNOMATCH-={'-1'} ,ESNOMATCH1-={'-1'} ,ESNOMATCH2-={'-1'}>}ESremision)
count({<ESNOMATCH={''}>+< ESNOMATCH1={''}>+<ESNOMATCH2={''}>+<ESSIMATCH={'-2'}>} ESremision)
Hi
Did u check the demo, its work fine for me. Can u post a sample data in csv or sample post?
for include the null value alone, u can use like this
{<ESNOMATCH-={'*'}>}
Hope it helps
Mayil;
I have been checked your demo already and it works fine....
but with my expr..doesn´t work.
How can I attach some data that I am using? , Tk in advanced!
COUNT ({<ESSIMATCH={'-2'} ,ESNOMATCH-={'-1'} ,ESNOMATCH1-={'-1'} ,ESNOMATCH2-={'-1'}>}ESremision)
JMC
Mayil;
I have been attached my QVW....Tk in adv.