ABS & MOD Function in PowerApps

ABS function in PowerApps

The ABS function in powerapps provide you the absolute value regardless of psotive number or negative number.It takes any number you give it, whether it's positive or negative, and turns it into a positive number.

Why ABS function is used in powerapps?

  • It's handy in many situations, like calculating differences between numbers, ensuring only positive values are used, or simplifying expressions by removing negative signs.
  • This can be particularly helpful in scenarios where you need to compare with something.

Syntax

ABS(Number)

Example

abs(100)

Abs(100)

ABS function

MOD function in PowerApps

In PowerApps, the Mod function is used to find the remainder of a division operation. It helps find what's left over when you divide one number by another.

Syntax

Mod( Number, Divisor )

MOD function

Where does MOD function is helpful in PowerApps?

  • Use can you MOD to put items together in a gallery or table.
  • You can use MOD function in formatting the gallery structure to check the even and odd data from the data source connected.

Examples

MOD function

Mod function