User functions in Tableau: Use server attributes to control your workbook.
Tableau Tim
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” END ISUSERNAME(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 ... https://www.youtube.com/watch?v=ZZguf-UJaPg
116745254 Bytes