Skip to main content
Skip table of contents

FACT

Basic Overview

Description

Returns the factorial of a number. The factorial of a number is equal to 1*2*3*...* number.

Signature

FACT(Node)

Parameters

  • Node: An input node with values to calculate factorial

Limitations

  • Factorial cannot be computed on negative numbers

  • The input cannot contain numbers larger than 20

  • Any decimal number will be rounded to the smallest value e.g. 3.725 → 3

Example

Input:

Node

Year

Measure

2021

0

2022

3

2023

5

2024

7

Using FACT('Node') would produce:

Year

Measure

2021

1

2022

6

2023

120

2024

5040

JavaScript errors detected

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

If this problem persists, please contact our support.