Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!
Hola a todos
No estoy seguro de si estoy repitiendo un problema similar de RLS que se enfrentó anteriormente. Mi objetivo es implementar el RLS teniendo en cuenta el usuario IsAdmin.
Tengo 4 tablas, Userdim, Roles, UserRolemapping, Tabla transaccional.
He incorporado el siguiente DAX en la tabla userdim.
Hi, The scenario is as follows:
Userdimtable:
UserId, Username,IsAdmin
1, A,1
2, B,0
3,C, 0
4,D,0
RoleUserTable
RoleId, UserId
1,2
2,2
TransactionalTable:
TransactionalId, RoleId, Sum
1,1,10
2,1,15
3,100,50
Now the problem is the Role 100 in the transactional table is not present in the Roleusertable. Hence when I apply the mentioned DAX in the original post, eventhough it identifies the admin it can't show the 3rd row from Transactionaltable.
Hope it is clear now and please help.
Regards,
Jishnu
2,
@jishnu, no estoy seguro de que esto pueda ayudar. Pero puede crear una nueva fila mediante enter data para RoleId y combinarla con la tabla Roleusertable en el modo de consulta de edición.
https://radacad.com/append-vs-merge-in-power-bi-and-power-query
@jishnu - Supongo que mi pregunta es esta. ¿Se supone que el rol de administrador lo ve todo?
@jishnu - No estoy seguro de que 100% lo entiendo, pero tal vez cree un rol independiente para los usuarios administradores que tenga una lógica diferente para la regla RLS que no caiga en ese desvío. Necesitaría más información para ser más específicos.