Forum Discussion
LDevi86
6 years agoFrequent Visitor
Dynamic Row Level Security for the live connection with SSAS Tabular Model
Hi All, I am implementing the Dynamic Row Level Security for the power bi users, which is live connection with SSAS tabular model. I gone through the below steps: 1. I have created a table with...
- 6 years ago
In that case see if the below can help.
https://radacad.com/row-level-security-with-ssas-tabular-live-connection-in-power-bi
lbendlin
Super User
6 years agoUSERNAME() behaves differently on Desktop and Service. Always use USERPRINCIPALNAME() and always use email addresses, not domain accounts.
LDevi86
6 years agoFrequent Visitor
Thanks for the reply.
I have changed the table and DAX query as below using UPN.
And DAX :
=DimSalesTerritory[SalesTerritoryKey]=LOOKUPVALUE(DimUserSecurity[SalesTerritoryID], DimUserSecurity[UserName], USERPRINCIPALNAME(), DimUserSecurity[SalesTerritoryID], DimSalesTerritory[SalesTerritoryKey])
But the result is same, User could see blank report.
Do I should change the DAX query? any other settings to fix it?
Thanks,
Lakshmi