March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early bird discount ends December 31.
Register NowBe one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now
While using below dax its showing an error when I want to create a role
FILTER(
ALL('ReportFACT'),
'ReportFACT'[State] IN (
SELECTCOLUMNS(
ALL('StateRLS'),
"State", 'StateRLS'[State],
"Email", 'StateRLS'[Email]
)
'StateRLS'[Email] = USERPRINCIPALNAME() )
&&
'ReportFACT'[Company] = (
SELECTCOLUMNS(
ALL('CompanyRLS'),
"Company", 'CompanyRLS'[Company],
"Email", 'CompanyRLS'[Email] )
'CompanyRLS'[Email] = USERPRINCIPALNAME() )
)
Hello @ashishg ,
what exaclty do you want to do?
There is no WHERE command in DAX, so what you did is not proper DAX code.
Also you have to make sure that the expression returns a boolean value. So it has to return TRUE or FALSE for every row in the specific table.
Best regards
Denis
@selimovd
I want to apply RLS for my previou quetion if you suggest me anything it would be helpful
here is link of my previous quetions
https://community.powerbi.com/t5/Desktop/RLS-security-based-on-State-and-Company-table/m-p/3008649#M...
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!
Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.
User | Count |
---|---|
125 | |
84 | |
66 | |
54 | |
43 |
User | Count |
---|---|
200 | |
107 | |
96 | |
64 | |
56 |