Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Syndicate_Admin
Administrator
Administrator

Necesita ayuda sobre RLS en la tabla de hechos.

Hola..

Cómo implementar RLS basado en campos mutliple.

Es necesario filtrar en función de Rep_flag en la tabla RSL, Data_Flag campo en la tabla de hechos y la clave.

Rep_flag =tipo1 / data_flag =1

Rep_flag = tipo2/ data_flag = 0

Rep_flag = tipo3/ data_flag = 0 y 1

kanth123_2-1642606583014.png

kanth123_3-1642606600507.png

kanth123_0-1642606564675.png

kanth123_4-1642606616278.png

mientras que a continuación el enfoque funciona?

crear tres roles de usuario: (Tipo1,Tipo2,Tipo3)

Agregar filtro en la tabla de hechos

data_flag =1 para el tipo de rol 1

data_flag = 0 para el tipo de rol 2

Gracias

1 ACCEPTED SOLUTION
Syndicate_Admin
Administrator
Administrator

@kanth123 ,

Creé un archivo pbix de muestra(ver archivo adjunto),verifique si eso es lo que desea.

yingyinr_0-1643002446515.png

Además, puede consultar las siguientes documentaciones para implementarlo.

Guía de seguridad de nivel de fila (RLS) en Power BI Desktop

Configuración de seguridad de nivel de fila en Power BI Desktop

RLS con DOS tablas de hechos en Power BI

Saludos

View solution in original post

1 REPLY 1
Syndicate_Admin
Administrator
Administrator

@kanth123 ,

Creé un archivo pbix de muestra(ver archivo adjunto),verifique si eso es lo que desea.

yingyinr_0-1643002446515.png

Además, puede consultar las siguientes documentaciones para implementarlo.

Guía de seguridad de nivel de fila (RLS) en Power BI Desktop

Configuración de seguridad de nivel de fila en Power BI Desktop

RLS con DOS tablas de hechos en Power BI

Saludos

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.