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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.