Formula References

These are some of the Power FX formulas that would be useful for your app development in AppAlloy.

This document is still updating...

SyntaxDescription

calculate the average value

join multiple text strings into one single string.

represent or create a specific date value.

add or subtract a specified number of days, months, quarters, or years to a date.

calculate the difference between two dates

convert a date string (for example, "Sep 18, 2024"), ISO 8601 formatted, to a date/time value.

convert a date & time string (for example, "Sep 18, 2024, 9:00PM"), ISO 8601 formatted, to a date/time value.

create conditional logic

return the month component of a DateTime value, ranging from 1 to 12.

return the month component of a DateTime value, ranging from 1 to 12.

return the current date and time

return a pseudo-random number that's greater than or equal to 0 and less than 1

return a pseudo-random integer (whole number with no decimal portion) that is between two numbers, inclusive.

round up if the next digit is 5 or higher. Otherwise, this function rounds down.

round down to the previous lower number, towards zero.

round up to the next higher number, away from zero.

calculate total value of several numeric data

format a number or a date/time value

extract the month from a date value

return the weekday of a Date/Time value, ranging from 1 (Sunday) to 7 (Saturday) by default.

determine the week number of a date, ranging from week 1 to 54 in a year.

extract the year from a date value

Last updated