Econroy
7 months agoRegular Visitor
Status:
New
OneLake Security RLS | Join tables and Call Username function
Our team would like join to our security mapping table in the rule and call the employee that is querying's username and filter by it. It would look like:
select * from my_table
inner join security_table
on security_table.projectID = my_table.projectID
where security_table.username = username()
This would allow us to dynamically set our RLS on the table.
2 Comments
- watermelonjamRegular VisitorNot possible. RLS rule SQL syntax doesn't support joins. See https://learn.microsoft.com/en-us/fabric/onelake/security/row-level-security#syntax-rules Functions such as USERPRINCIPALNAME() are also not valid. See https://community.fabric.microsoft.com/t5/Fabric-platform/Row-Level-Security-in-OneLake-preview-Major-limitations/m-p/4650566/highlight/true#M14569
- EconroyRegular VisitorHey watermelonjam - thanks for sharing the link. It's nice to see why USERNAMEPRINCIPALNAME() function is not currently available in OneLake Security. Good to know moving forward, MS is working on a solution to implement this in the future. Will keep my eyes out for any GA announcement regarding the implementation.
Recent ideas
Power BI UX Suggestion: Preserve Selection When Switching Between Report and Model Views
When developing a Power BI report, if I select a visual in Report View and then switch to Model View, the selected table/column context is lost and everything becomes unselected. This can be inconv...Murtaza_Ghafoor8 hours agoSuper UserNew9Views0likes0CommentsPower BI UX Suggestion: Preserve Selection When Switching Between Report and Model Views
When developing a Power BI report, if I select a visual in Report View and then switch to Model View, the selected table/column context is lost and everything becomes unselected. This can be inconv...Murtaza_Ghafoor8 hours agoSuper UserNew10Views0likes0CommentsDefault Scrollable Time-Series Charts to Most Recent Data
Currently, Power BI time-series charts always open scrolled to the earliest (leftmost) date by default, which is inconvenient for reports where users are interested in the most recent (rightmost) dat...CStillwell10 hours agoNew MemberNew8Views0likes0CommentsPower BI Desktop Data Load: Can We Get Better Progress Visibility?
One UX improvement I’d really like to see in Power BI Desktop is better visibility when loading large datasets from Power Query. Currently, when Power Query finishes processing and the data starts l...salmansaifee7711 hours agoRegular VisitorNew20Views1like0Comments