pc

PC (Periodic calculation) is a group of functions that are used to perform operations with different time frequencies.

 

A PC function must contain a frequency and an operation to be complete. There are 7 frequencies * 5 operations = 35 different types of PC functions available.

 

These frequencies are available:

 

These operations are available:

 

Syntax

The syntax depends on the frequency and operation that are selected:

PC<frequency><operation>('[node]',BOP,EOP)

 

see below under Use for examples.

 

Use

PC functions have many areas of use.  

 

SUM - E.g. to multiply price and quantity on a daily basis use a PCDSUM function:

PCDSUM('[120]*[121]',bop,eop)

 

AVG - E.g. to calculate an average based on the number of time periods. If you have an income forecast (price*quantity), and price and quantity are quoted on a daily basis, the function will multiply price by quantity per day and sum up before dividing by number of days in the period.

PCDAVG('[120]*[121]',BOP,EOP)

 

The same can be done using the NOP function.

 

Remember that a number divided by zero will give an infinite number and the calculation will be wrong.

 

To get an average for a number of organizations, you must combine a PCSUM function with an AGGAVG function.

 

COUNT - To count periods. Same as the NOP function.

 

MAX - To find the highest value for a KPI expression within a time period, e.g. highest sales (per week) last year. (Node: 135 Sales)

PCWMAX('[135]',bop-1y+by,eop-1y+ey)

 

MIN - To find the lowest value for a KPI expression within a time period, e.g. the lowest absence due to illness (per day) last year.

PCDMIN('[325]/[326]',bop-1y+by,eop-1y+ey)

 

PC functions can also be combined with other KPI functions. In this way you can e.g. find the lowest figures for absence due to illness for a period in several organizational units by combining PC with TOP functions.

 

 

Version 5.1.2.0

This document contains confidential information. Not to be copied by third parties without written authorization.

© Copyright Corporater AS - All rights reserved.