Events
31 Mar, 11 pm - 2 Apr, 11 pm
The ultimate Microsoft Fabric, Power BI, SQL, and AI community-led event. March 31 to April 2, 2025.
Register todayThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Applies to: Calculated column Calculated table Measure Visual calculation
Returns the domain name and username from the credentials given to the system at connection time.
USERNAME()
This expression has no parameters.
The username from the credentials given to the system at connection time
The following formula verifies if the user login is part of the UsersTable.
= IF(CONTAINS(UsersTable,UsersTable[login], USERNAME()), "Allowed", BLANK())
Events
31 Mar, 11 pm - 2 Apr, 11 pm
The ultimate Microsoft Fabric, Power BI, SQL, and AI community-led event. March 31 to April 2, 2025.
Register today