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_01

Evaluated_Field_01_02

Resulting Value

Type

Literal

Literal

Literal or Field

Full-Time

Part-Time

First Operand

If

If

If

Field

Assignments:Location_FTE

Assignments:Location_FTE

Operator

Is Equal To

Is Less Than

Second Operand

Type

Literal

Literal

Literal or Field

1

1

  • Report Output:

Employee

Status

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_01

Evaluated_Field_01_02

Resulting Value

Type

Field

Literal

Literal or Field

Assignments:Location_FTE

Full-Time

First Operand

If

If

Else

Field

Assignments:Location_FTE

Operator

Is Less Than

Second Operand

Type

Literal

Literal or Field

1

  • Report Output:

Employee

FTE

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 Keywords

FONTSIZE=<fontsize>

BOLDITALIC

BOLDITALIC

BOLD

ITALIC

UNDERLINE

STRIKETHRU

NORMAL

Colour Keywords

ALICE BLUE

HOT PINK

MEDIUM

THISTLE

ANTIQUE WHITE

INDIAN RED

TURQUOISE

TOMATO

AQUA

IVORY

MINT CREAM

WHITE SMOKE

AQUA MARINE

KHAKI

MISTY ROSE

ULTRA LIGHT

AZURE

LAVENDER

MOCCASIN

GRAY

BEIGE

YELLOW GREEN

NAVAJO WHITE

VIOLET

BISQUE

BLUSH

OLD LACE

WHEAT

BLANCHED

LAWN GREEN

OLIVE

ALMOND

LEMON CHIFFON

OLIVE DRAB

BURLY WOOD

LIGHT BLUE

ORANGE

CADET BLUE

LIGHT CORAL

ORANGE RED

CHART REUSE

LIGHT CYAN

ORCHID

CHOCOLATE

LIGHT GOLDEN

PALE GOLDEN

CORAL

ROD YELLOW

ROD

CORN FLOWER

LIGHT GREEN

PALE GREEN

BLUE

LIGHT GRAY

PALE

CORN SILK

LIGHT ORANGE

YELLOW

CRIMSON

LIGHT PINK

PALE VIOLET

CYAN

LIGHT PURPLE

RED

DARK GOLDEN ROD

LIGHT RED

PAPAYA WHIP

DARK GRAY

LIGHT SALMON

PEACH PUFF

DARK KHAKI

LIGHT SEA

PERU

DARK ORANGE

GREEN

PINK

DARK SALMON

LIGHT SKY BLUE

PLUM

DARK SEA

LIGHT SLATE

POWDER BLUE

GREEN

GRAY

RED

DARK

LIGHT STEEL

ROSY BROWN

BLUE

ROYAL BLUE

DEEP PINK

LIGHT YELLOW

SALMON

DEEP SKY BLUE

LIME

SEA GREEN

DODGER BLUE

LIME GREEN

SEA SHELL

FOREST GREEN

MEDIUM AQUA

SILVER

FUCHSIA

MARINE

SKY BLUE

GAINSBORO

MEDIUM SEA

SLATE BLUE

GHOST WHITE

GREEN

SNOW

GOLD

MEDIUM SLATE

SPRING GREEN

GOLDEN ROD

BLUE

STEEL BLUE

GREEN YELLOW

MEDIUM SPRING

TAN

HONEY DEW

GREEN

TEAL

WHITE


 

JavaScript errors detected

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

If this problem persists, please contact our support.