# Top 10 PowerFx Formulas Used in Canvas Applications

Here are the PowerFx formulas commonly used by Canvas application developers:

• Concat: The Concat function is used to concatenate multiple text strings together. It takes two or more arguments and returns a single text string.
• If: The If function is used to evaluate a logical expression and return one value if the expression is true, and another value if it is false. It takes three arguments: the logical expression, the value to return if the expression is true, and the value to return if the expression is false.
• Filter: The Filter function is used to filter a table based on one or more criteria. It takes two arguments: the table to filter and the criteria to use for filtering.
• Lookup: The Lookup function is used to search for a specific value in a table and return a related value from the same or a different column. It takes three arguments: the table to search in, the column to search for the value, and the column to return a related value from.
• CountRows: The CountRows function is used to count the number of rows in a table. It takes one argument: the table to count the rows of.
• Sum: The Sum function is used to calculate the sum of a column of numbers in a table. It takes one argument: the column of numbers to calculate the sum of.
• First: The First function is used to return the first row from a table. It takes one argument: the table to return the first row of.
• Switch: The Switch function is used to evaluate a series of conditions and return a value based on the first condition that is true. It takes one or more pairs of arguments: the condition to evaluate and the value to return if the condition is true.
• And: The And function is used to evaluate two or more logical expressions and return true if all expressions are true, and false if any expression is false. It takes two or more arguments.
• Or: The Or function is used to evaluate two or more logical expressions and return true if any expression is true, and false if all expressions are false. It takes two or more arguments.

These are just a few of the many PowerFx formulas available, but they are some of the most commonly used and versatile ones.

For complete details about PowerFx, visit Microsoft documentation at https://learn.microsoft.com/en-us/power-platform/power-fx/formula-reference