The main problem is that it is not working, users on the User list can't get access to see anything in the app.
Furtermore the testing in the desktop is not really working either. It seems to only acknowledge myself as a User and everybody else can see everything when I enter their username in "view as roles" function:
so why is the testing giving another result (see everything = no filter) than the app in the service (no access, see below
I have already tried to skip the above DAX code and just write:
Users[Username] = Userprincipalname() This gives me the same result.. which I find quite odd.
I have also been through a number of articles about dynamic RLS and also came across the following:
I had this problem too. It turns out that I had my SeeAll column with 1's and 0's as a text field and since the DAX expression does not allow comparing Text value with Integer values it gives the error. Changing the SeeAll column to type Integer solved my problem.