Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
Hi
I'm trying to implement Row Level Security, using as a example the radacad tutorial (https://radacad.com/dynamic-row-level-security-with-manager-level-access-in-power-bi)
I've adapted it to my tables, and If I create a measure with the code, it works.
But when I try to add it to the RLS tab, I get an error: "The syntax for ";" is incorrect"...
Can anybody help me with this error?
BTW: For some unknown reason, in my computer, all expressions works with ";", but in my collegues computers, the expressions works with ",".
Thanks!
If(
MaxX(
Filter(
'RLS_Test_Data';
'RLS_Test_Data'[EMAIL_USER_RLS]=USERPRINCIPALNAME()
)
;'RLS_Test_Data'[IS ADMIN]
)=0;
FIRSTNONBLANK(RLS_Test_Data[EMAIL_USER_RLS];RLS_Test_Data[EMAIL_USER_RLS])=USERPRINCIPALNAME();
1=1
)
Solved! Go to Solution.
Interesting, that's usually a regional language setting things. You could check the Issues forum here:
https://community.powerbi.com/t5/Issues/idb-p/Issues
And if it is not there, then you could post it. It does kind of sound like a bug.
@Anonymous ,
This issue should be related to the region settings. Please update power bi desktop to the latest version and check if this issue persists.
Regards,
Jimmy Tao
I've updated to the last version 2.78.5740.861 and the error is still there.
I've tryied changing all the ";" to , and it worked. Have no idea why, but seems to be a bug of PowerBi, because in a measure it need to be with ";" and in RLS with ","
Interesting, that's usually a regional language setting things. You could check the Issues forum here:
https://community.powerbi.com/t5/Issues/idb-p/Issues
And if it is not there, then you could post it. It does kind of sound like a bug.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
100 | |
86 | |
64 |