SILog map styles: Skillnad mellan sidversioner

Från DataPolarna
Hoppa till navigering Hoppa till sök
Rad 16: Rad 16:


== IF ==
== IF ==
<pre>
IF(storageArea.status = storageAreaStatus.empty, "Empty", "Not empty")
</pre>
== IFS ==
== IFS ==
== MAX ==
== MAX ==

Versionen från 22 oktober 2025 kl. 14.53

Conditions

TODO: Add info

Functions

ANYOF

TODO: Add info

COALESCE

Use the first value that isn't null.

Example

COALESCE(product.name, storageArea.name)

Will show the name of the storage area if there isn't any product in the storage area.

IF

IF(storageArea.status = storageAreaStatus.empty, "Empty", "Not empty")

IFS

MAX

Returns the MAX value of two or more values

Example

MAX(1, 3, 2)

will return 3

MIN

Returns the MIN value of two or more values

Example

MAX(42, 1, 100)

will return 1

NOT

ROUND

SWITCH