Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
I have two tables, Table A and Table B.
Table A contains a column with primary keys assigned to specific users.
A single user can have multiple unique keys.
Table B contains keys that originate from Table A but with added extensions. For example:
I want to set up Row-Level Security (RLS) so that when a user logs in:
If USER1 has the key abcd-efg-hij in Table A, then Table B should be filtered to include:
I used `CONTAINSSTRING`, but the `MAX` function restricts the search to a single key at a time, preventing the expected outcome. It worked fine when a user had only one key, but for users with multiple keys, it only considers the maximum value, causing incorrect filtering.
----------------------------------------------------------------------------------------
Hi @novel ,
Pls has your problem been solved? If so, accept the reply as a solution. This will make it easier for the future people to find the answer quickly.
If not, please provide a more detailed description.
Best Regards,
Stephen Tao
Use GENERATE to iterate dynamically over all strings.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 50 | |
| 40 | |
| 37 | |
| 14 | |
| 14 |
| User | Count |
|---|---|
| 85 | |
| 69 | |
| 37 | |
| 28 | |
| 27 |