Skip to main content
Skip table of contents

Step 9 - Add Evaluated Field Criteria

An evaluated field (selected as a display field from the Evaluated Field Table) is a way for the report to display user-defined literal text or display a specified field based on data held in another field.

Examples:

  • The report should display "Full-Time" if FTE is 1.0 and "Part-Time" if FTE is less than 1.0:


Evaluated_Field_01_01Evaluated_Field_01_02
Resulting ValueTypeLiteralLiteral

Literal or FieldFull-TimePart-Time

First Operand

IfIfIf

FieldAssignments:Location_FTEAssignments:Location_FTE

OperatorIs Equal ToIs Less Than
Second OperandTypeLiteralLiteral

Literal or Field11
  • Report Output:
EmployeeStatus
Employee (1.0 FTE)Full-Time
Employee (0.5 FTE)Part-Time
  • The report should display the actual FTE if it is less than 1.0; otherwise, "full-time" should display.


Evaluated_Field_01_01Evaluated_Field_01_02
Resulting ValueTypeFieldLiteral

Literal or FieldAssignments:Location_FTEFull-Time

First Operand

IfIfElse

FieldAssignments:Location_FTE

OperatorIs Less Than
Second OperandTypeLiteral

Literal or Field1
  • Report Output:
EmployeeFTE
Employee (1.0 FTE)Full-Time
Employee (0.75 FTE)0.7500

Note: the field being evaluated must be included in the report as a selection or sort field (if as a selection field, the selection criteria can be left blank).

Adding Masks to Evaluated Fields:

Masking can be added to evaluated fields. An example of this would be creating a birthday report but wanting to show just the birth month. Entering a mask will alter the resulting value of this evaluated field. A mask will display just a portion of the resulting value.

For example, if a date is formatted to Wednesday 01-Jan-2010, a mask of +++ to display just Wed could be used. 

There are two special characters that can be put in a mask. They are: + (plus sign) and - (minus sign): 

A plus sign will display (add) the character in the matching position, while a minus sign will remove the character in the matching position. A space (or lack of any character) will act as a minus. 

If the resulting value of the evaluated field is the word TEST, a mask of ++ (in the first two characters of the mask) would display TE, while a mask of --++ would display ST. 

Additionally, three KEY PHRASES can be used. They are: LEFT OF, RIGHT OF, or RIGHT OF LAST. 

Each of these phrases expects a character after the phrase, i.e. LEFT OF - will display everything to the left of the hyphen. RIGHT OF, will display everything to the right of the period. RIGHT OF LAST, will display everything to the right of the last period. Any other character in the mask will be treated as a literal and will be added to the resulting value.

Examples:

Pre-Mask Value

Mask

Post-Mask Value

01-Jan-2010

---+++

Jan

Wednesday 01-Jan-2010

LEFT OF

Wednesday

201006001J/E001 i.e. batch no

++++++

201006

(604)858-3587

-+++

604

(604)858-3587

-----+++

858

T1011-0003 i.e. posting no

+

T

T1011-0003

-++++

1011

TE0103 i.e. salary grid

++

TE

TE0103

--++

01

TE0103

----++

03

Adding Font Types and Colour to Evaluated Fields:

Keywords can be added to the Evaluated Field Mask field to allow the font type and/or font colour to be altered. All Keywords must be wrapped in curly brackets {} e.g. {BOLD} or {ALICE BLUE}. 

Keyword



Font Type KeywordsFONTSIZE=<fontsize>BOLDITALICBOLDITALICBOLD

ITALICUNDERLINESTRIKETHRUNORMAL





Colour KeywordsALICE BLUEHOT PINKMEDIUM

THISTLE


ANTIQUE WHITEINDIAN REDTURQUOISETOMATO

AQUAIVORYMINT CREAMWHITE SMOKE

AQUA MARINEKHAKIMISTY ROSEULTRA LIGHT

AZURELAVENDERMOCCASINGRAY

BEIGEYELLOW GREENNAVAJO WHITEVIOLET

BISQUEBLUSHOLD LACEWHEAT

BLANCHEDLAWN GREENOLIVE

ALMONDLEMON CHIFFONOLIVE DRAB

BURLY WOODLIGHT BLUEORANGE

CADET BLUELIGHT CORALORANGE RED

CHART REUSELIGHT CYANORCHID

CHOCOLATELIGHT GOLDENPALE GOLDEN

CORALROD YELLOWROD

CORN FLOWERLIGHT GREENPALE GREEN

BLUELIGHT GRAYPALE

CORN SILKLIGHT ORANGEYELLOW

CRIMSONLIGHT PINKPALE VIOLET

CYANLIGHT PURPLERED

DARK GOLDEN RODLIGHT REDPAPAYA WHIP

DARK GRAYLIGHT SALMONPEACH PUFF

DARK KHAKILIGHT SEAPERU

DARK ORANGEGREENPINK

DARK SALMONLIGHT SKY BLUEPLUM

DARK SEALIGHT SLATEPOWDER BLUE

GREENGRAYRED

DARKLIGHT STEELROSY BROWN

BLUEROYAL BLUEDEEP PINK

LIGHT YELLOWSALMONDEEP SKY BLUE

LIMESEA GREENDODGER BLUE

LIME GREENSEA SHELLFOREST GREEN

MEDIUM AQUASILVERFUCHSIA

MARINESKY BLUEGAINSBORO

MEDIUM SEASLATE BLUEGHOST WHITE

GREENSNOWGOLD

MEDIUM SLATESPRING GREENGOLDEN ROD

BLUESTEEL BLUEGREEN YELLOW

MEDIUM SPRINGTANHONEY DEW

GREENTEALWHITE


 

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.