Forum Discussion
szymon_zabiello
5 years agoRegular Visitor
RLS on database level with Direct Query
Here is the scenario. Source: Teradata Connection mode in Power BI: Direct Requirement: Identify the user logged in, by USERPRINCIPALNAME() function and pass its value to the direct query, in ord...
- 5 years ago
Hi szymon_zabiello ,
Currently any measures and calculated columns could not be quoted in power query.
You can try to configure RLS directly in the data source side. Refer: Row-Level Security
Best Regards,
Community Support Team _ Yingjie Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
lbendlin
Super User
5 years agoWhy would you need that? The database already knows which user is running the direct query?
Row-level security (RLS) with Power BI - Power BI | Microsoft Docs
Last FAQ.