Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi..
How to implement RLS based on mutliple fields.
Need to filter based on Rep_flag in RSL table, Data_Flag field in Fact table and Key.
Rep_flag =type1 / data_flag =1
Rep_flag = type2/ data_flag =0
Rep_flag = type3/ data_flag = 0 and 1
while below approach works ?
create three user roles : (Type1,Type2,Type3)
Add filter on fact table
data_flag =1 for role type 1
data_flag =0 for role type 2
Thanks
Solved! Go to Solution.
Hi @kanth123 ,
I created a sample pbix file(see attachment), please check whether that is what you want.
In addition, you can refer the following documentations to implement it.
Row-level security (RLS) guidance in Power BI Desktop
Row Level Security Configuration in Power BI Desktop
RLS with TWO Fact tables in Power BI
Best Regards
Hi @kanth123 ,
I created a sample pbix file(see attachment), please check whether that is what you want.
In addition, you can refer the following documentations to implement it.
Row-level security (RLS) guidance in Power BI Desktop
Row Level Security Configuration in Power BI Desktop
RLS with TWO Fact tables in Power BI
Best Regards
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 55 | |
| 40 | |
| 35 | |
| 19 | |
| 18 |
| User | Count |
|---|---|
| 71 | |
| 70 | |
| 38 | |
| 35 | |
| 23 |