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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! 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
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.