Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more.
Get startedGrow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.
Hello everyone,
I have RLS in my dataset and there are couple of inactive relationships in our dataset. Microsoft document says that USERELATIONSHIP wouldn't work when RLS is applied. We are achieving CROSSFILTER using inactive relationships.
Does anyone have idea for the alternative for USERELATIONSHIP?
Any tip/idea might be helpful.
Thanks in advance.
Solved! Go to Solution.
HI @rajulshah,
I think you are misunderstanding with RLS features, it can be worked with 'USERELATIONSHIP' functions.
I think the relationship part which you mentioned is mean the indirectly cross table filter features, it is based on active relationships.
If tables did not exist relationship link to the raw table, the RLS filter not auto-apply to those tables. You need to manually set filters on these inactive relationship tables.
Regards,
Xiaoxin Sheng
HI @rajulshah,
I think you are misunderstanding with RLS features, it can be worked with 'USERELATIONSHIP' functions.
I think the relationship part which you mentioned is mean the indirectly cross table filter features, it is based on active relationships.
If tables did not exist relationship link to the raw table, the RLS filter not auto-apply to those tables. You need to manually set filters on these inactive relationship tables.
Regards,
Xiaoxin Sheng
@rajulshah which documentation says that USERELATIONSHIP cannot be used with RLS? You need to show your data model and the expected result. Read this post to get your answer quickly.
https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490
Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!
Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo
If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤
Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.
User | Count |
---|---|
85 | |
84 | |
68 | |
65 | |
56 |
User | Count |
---|---|
126 | |
102 | |
90 | |
84 | |
66 |