cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
electrobrit
Helper V
Helper V

role level security for corporate (can see everything)

I have a report with a table that defines store numbers/store owners and emails. I have created role level security to look up in a table:
in modeliing in desktop I have this-
UPPER([emailaddress1]) = UPPER(USERNAME())
then on the dataset security I've defined the group.

this works great. 
I want to add a role for corporate to basically ignore any role level security as they should be able to view report and see everything. Do I create the role and basically define no DAX expression? or how do I do that?
I saw someone else ask similar and a person said  to do DAX1=1. I have no idea what this means, they didn't elaborate.

1 ACCEPTED SOLUTION
TeigeGao
Solution Sage
Solution Sage

Hi @electrobrit ,

>>Do I create the role and basically define no DAX expression?

We can do that, this role will see all data, then we can add users to this role.

RDCMan_be0vZcEfbq.png

The result will like below:

NwkwtQ5qVQ.gif

Best Regards,

Teige

View solution in original post

1 REPLY 1
TeigeGao
Solution Sage
Solution Sage

Hi @electrobrit ,

>>Do I create the role and basically define no DAX expression?

We can do that, this role will see all data, then we can add users to this role.

RDCMan_be0vZcEfbq.png

The result will like below:

NwkwtQ5qVQ.gif

Best Regards,

Teige

View solution in original post

Helpful resources

Announcements
Power BI December 2021 Update_carousel 768x460.jpg

Check it Out!

Click here to read more about the December 2021 Updates!

User Group Leader Meeting January 768x460.png

Calling all User Group Leaders!

Don't miss the User Group Leader meetings on January, 24th & 25th, 2022.

Jan 2022 Dev Camp 768x460 copy.png

Power BI Dev Camp- January 27th, 2022

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors