In Power Apps, the As operator is used to assign an alias (a temporary name) to a control or record.
Letβs have an example

Here:
Gallery1.AllItems represents all rows in the gallery.
With as operator, each row gets the alias Emp.
Now you can refer to Employee.EmployeeName and Emp.EmailAddress instead of repeating complex expressions like ThisRecord.EmployeeName.
Benefits of Using As
- Usefulness: As operator is useful at AddColumns / GroupBy / With statement and dealing with nested records.
- Readability β Instead of seeing many ThisRecord, you see meaningful names like Emp,
- Avoids Confusion β Especially in nested ForAll, AddColumns, GroupBy, or With statements where multiple record scopes exist.
- Fewer Bugs β It Reduces the chance of referencing the wrong field.
- Professional Best Practice βExperienced Power Platform developers use it for clean formulas


