Does Tableau desktop and server support USERNAME() function of Microsoft SSAS Cube ? If not, is there any turnaround to fetch the user name of the current user accessing the report ?
I am using this function in a MDX expression inside Security Roles, and it works fine with excel and power view, but facing issue with Tableau. Please advise.
Hi Vivek -
Tableau has it's own built-in function which returns the user whom is logged into Tableau Server - it is not necessary to use MDX in an attempt to retrieve this type of information indirectly from SSAS.
You'll want to use "our" UserName() function, which is documented below:
Hope this helps.