Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I have problem with set analysis
I wanna count numbers equal to -1 in field success
I write this set expression that this site Set Analysis Wizard for QlikView | qlikblog.at create for me but it doesn't work:
Count({$<success={-1}>}success)
this is my field's data:
I would appreciate if anyone can help
Why don't you try this
-Sum(Success)
Or this
Sum(-Success)
Possibly Fabs( Sum( Success ) )...
Fabs = Absolute Value
Hello,
you must write it this way :Count({$<success={'-1'}>}success) (between single quotes)
the set interprets the minus as operator
Hope it helps,
Andrei
i tried both single and double quotes but none of them work
thank's it's work finally but i want to know why set analysis didn't work
Your field name seems to be Success with a capital S, did you use this
Count({$<success={-1}>}success)
or this
Count({$<Success={-1}>}Success)
In QlikView, Success is different from success
I've used Count( {< Success={"-1"} >} Success) and it worked for me. Like andrei.delta mentioned.
Good luck
Oscar
wow i didn't notice that
thanks a lot