Announcement

Collapse
No announcement yet.

Calculated / Formula field / Virtual column in report. (advanced pack)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Calculated / Formula field / Virtual column in report. (advanced pack)

    I have a text field

    Possible contents are A , B and AB

    I want to count all records that have A, and all that have B, so I would like to add
    - a virtual field A, that is 1 if the string contains an A
    - a virtual field B, that is 1 if the string contains an B



    Click image for larger version  Name:	image.png Views:	0 Size:	3.1 KB ID:	101835

    ```
    $A = ifThenElse(
    string\contains('$field', 'A') // will return true
    1, // return this value
    0 // otherwise, this
    )

    $B = ifThenElse(
    string\contains('$field', 'B') // will return true
    1, // return this value
    0 // otherwise, this
    )
    ```

    In this way I can use those in a report (and export)

    What workarounds do we have?
    Starts
    01-22-2024
    Ends
    01-22-2024
    Last edited by rinorway; 01-22-2024, 01:53 PM.

  • #2
    In the upcoming Advanced Pack release it will be possible to define complex expressions in Grid report columns. It's already implemented, we yet need to test before the release.

    Comment


    • #3
      Great, we will be patient

      Comment

      Working...
      X