Video | Tableau | Data visualisation | Tool strategy

User functions in Tableau: Use server attributes to control your workbook.

sdasd

Part ofTableau Functions
  • The user dropdown at the bottom right of Tableau Desktop lets you simulate the dashboard as specific users or groups pulled live from Tableau Online, so you can test conditional logic before publishing.
  • FULLNAME, USERDOMAIN and USERNAME need no data input and behave like a parameter fed dynamically by the server with the current user's details — useful for personalised welcome messages.
  • ISMEMBEROF requires a string literal for the group name (not a calculation), and returns false if it can't reach the server, which matters when using it for security.
  • Username and full name are often different — on Tableau Online the username is typically your email, whereas full name is your display name.
  • The strongest use case is ISMEMBEROF with group membership to drive conditional calculations for different business units, rather than targeting named individuals.

In this video I walk through the 6 user functions you can use to pass through conditionality controlled by a users Tableau Server or Tableau Online status. I cover the following user functions: FULLNAME( ) e.g. [Manager]=FULLNAME( )ISFULLNAME(string) e.g. ISFULLNAME(“Dave Hallsten”)ISMEMBEROF(string) e.g. IF ISMEMBEROF(‘domain.lan\Sales’) THEN “Sales” ELSE “Other” ENDISUSERNAME(string) e.g. ISUSERNAME(“dhallsten”)USERDOMAIN( ) e.g.[Manager]=USERNAME() AND [Domain]=USERDOMAIN()USERNAME( ) e.g. [Manager]=USERNAME( )Tableau Release Notes:User functions can be used to create user filters or row-level security filters that affect visualizations published to Tableau Server or Tableau Online, so that only certain people can see your visualization.For example, if you have a visualization that shows the sales performance for each employee in your department published on Tableau Server or Tableau Online, you might want to only allow employees to see their own sales numbers when they access that visualization.https://help.tableau.com/current/pro/desktop/en-us/functions\_functions\_user.htm