cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SaiManjunath
Regular Visitor

Can we use DAX in datamarts security RLS

SaiManjunath_0-1670839014340.png

 we are trying to create RLS on the Datamarts can we use DAX in the conditions ?
@

 

1 ACCEPTED SOLUTION
Burningsuit
Super User
Super User

Hi @SaiManjunath 

Not at present. I've tried to use DAX in the rules, but it is ignored. At the moment you can only do the basic tests available in the User Interface. I must assume that DAX will be added later.

Hope this helps

Stuart

View solution in original post

2 REPLIES 2
v-yueyunzh-msft
Community Support
Community Support

Hi , @SaiManjunath 

According to my research and testing, permission control in datamart does not currently support the use of DAX to manually write permission control code, within through the front-end UI interface to choose and edit, because this is still a preview stage of the function, the design is not very perfect, need more user feedback to make this new preview function more perfect, if convenient you can try in Power BI Idea suggests this to perfect the preview feature of this new Power BI:

Ideas (powerbi.com)

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

Burningsuit
Super User
Super User

Hi @SaiManjunath 

Not at present. I've tried to use DAX in the rules, but it is ignored. At the moment you can only do the basic tests available in the User Interface. I must assume that DAX will be added later.

Hope this helps

Stuart

Helpful resources

Announcements
May 2023 update

Power BI May 2023 Update

Find out more about the May 2023 update.

Submit your Data Story

Data Stories Gallery

Share your Data Story with the Community in the Data Stories Gallery.