Forum Discussion
SSAS Current User Blank
I created a Tabular cube in SSAS 2017. I have Row Level Security in the cube and it works great. I still need to be able to see who the logged in user is though to do some claculations. I have tried the following measures:
Current User:=USERNAME()
Current User:=USERPRINCIPALNAME()
If I browse the cube using Management Studio, I see values. However, if I browse the cube using Power BI Desktop, the measure is blank. I published the report to a Power BI Reporting server to see if that would help and the measure is still blank.
Any thoughts?
6 Replies
- amitchandak
Super User
Your user are coming from same verication system like active directory etc ?
- KevinW_SDP
Helper I
Yes, it is using active directory and all users are in the same domain. The systems I am loggin onto are computers on the domain so they should be picking up the Windows user. This works when using SSMS, just not Power BI.
- v-yuta-msft
Community Support
Have your sever AD been added as an admin of the cube instance? You can refer to the doc below:
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.