Topic
1 reply Latest Post - ‏2013-03-30T17:13:53Z by SystemAdmin
SystemAdmin
SystemAdmin
6184 Posts
ACCEPTED ANSWER

Pinned topic Extract Function

‏2013-03-25T11:09:12Z |
COUNT(EXTRACT(objects, value:objects = "1"))
I used this rule in a single occurrence output. If the value of the first object is "1", then the final output is 1. If the value of the first object is NOT "1", then the final output is 0, regardless what value is for the 2nd or 3th object.

Anyone have ideas about this issue. Or I just made some mistakes.
Updated on 2013-03-30T17:13:53Z at 2013-03-30T17:13:53Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    6184 Posts
    ACCEPTED ANSWER

    Re: Extract Function

    ‏2013-03-30T17:13:53Z  in response to SystemAdmin
    hi,

    If you need only first object you can use a simple IF condition by indexing this element.

    or

    Use a look up function. so that it doesn't bother the second or third. Again if you need to check only the very first object then go for the simple if and index.