Forum Discussion

lherbert501's avatar
lherbert501
Post Prodigy
5 months ago
Solved

Power BI Dataset RLS - Power BI Report Builder

Hi there,   I have a dataset created in Power BI. I created RLS on it and tested this against userprincipals and it works fine against a basic table in power bi.   I then created a paginated repo...
  • v-ssriganesh's avatar
    v-ssriganesh
    4 months ago

    Hello lherbert501,
    When Power BI Report Builder connects to a Power BI semantic model, the dataset query is generated as DAX, but Microsoft documents that the executing user identity isn’t referenced directly inside the DAX text.

    Instead, the supported approach is:

    • Use the built‑in UserID field as the default value for a report parameter
    • Bind that parameter in the dataset filter or dataset parameter
    • The semantic model then evaluates its existing RLS rules using the passed user context

    Microsoft also documents that row‑level security rules including manager or hierarchy logic (for example PATH‑based relationships) are evaluated entirely within the semantic model. Report Builder does not implement or modify hierarchy logic; it only submits queries under the current user context. Once the semantic model applies RLS, all queries from the paginated report including those used for parameters return only the permitted rows.

    Thank you.