Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
RonanCampbell
Frequent Visitor

Using Dynamic RLS with Datamart - is it possible?

Hi Power Bi Community,

 

Is it possible to apply Dynamic RLS to the new DATAMART feature in power bi?

 

There neither seems to be the possiblilty to enter DAX expressions e.g. =USERPRINCIPALNAME() or view as a individual person, only as a role.

 

Would love to hear if anyone has any information or experience on this

4 REPLIES 4
Ratnababu
Frequent Visitor

I was trying to implement dynamic RLS in datamarts, looks like there is no option to write DAX expressions in Roles. Only static filters working (hardcoded filters like Region = 'USA'). We may need to create another dataset on top of datamart with import mode to implement dynamic RLS. 

GAR
New Member

@gauthamboppana I am also struggling on the same issue, but I didn't understand the solution you suggested to Ronan.
Could you be more specific on the example please ?

Thank you 

gauthamboppana
Solution Specialist
Solution Specialist

Hey @RonanCampbell  - Unfortunately, not. Datamart is more like database in cloud. We cannot apply RLS within Datamart. You have to cerate the RLS roles in Power BI dataset (cerated using the Datamart). Hope this helps !

Did I answer your question? Mark my post as a solution! If not, please feel free to ask me.

Also, I would ❤ Kudos if my solution helped.  It is a token of appreciation!

Thank you very much !




thanks @gauthamboppana

I'm not sure I understand fully. How can I apply RLS to the dataset that's created with the datamart?

If I connect to the dataset via power bi desktop the model/relationships are already set up and not adaptable, unless I "add a local model".

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.