I creaated a report using PBI Desktop Optimized for Report Server. Source is SSAS CUBE (Multi dimensional). Cube has data from multiple states. In PBI Desktop I clickd on "Manage roles" and named it as Delaware and gave the value of State="Delaware". When I clicked on Views as and selected the role that I created it shows me data for Delaware only, but when I click on other user and select , either domain\username or firstname.lastname@example.org it shows all data, please advice where I am going wrong?
@d_gosbell yes I did, and in the below screen shot when i select the role I created 'perm' it only shows data for Delaware
No, you didn't. When testing as another user you must click "Other user" ANDone or more of the roles.
And normally when doing this you would have the role you tick setup with dynamic security (so it makes use of the USERPRINCIPALNAME() or USERNAME() functions). Because the link between a user and a role is stored on the server side it does not make sense to enter just a user when testing in desktop.
@d_gosbell thanks it worked on the desktop end, when I deployed it to the report server and added the user to the role, it did not work , it is showing data for all the states. I followed this video (https://www.youtube.com/watch?v=OV_l6HXATGE&t=636s) and did exactly the same using USERNAME() AND USERPRINCIPALNAME().