Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
IshaqAttah
New Member

Role-Based Security Issue: Incorrect Data Display for Specific Role in Power BI Without Dept filter

Hello,

I hope you're all doing well. I’m currently working with role-based security in Power BI and have written a DAX expression to filter data for a specific role related to the 'Tango Ltd' department:

'e2e_database InventoryDetailsMw (2)'[Department] == "Tango Ltd"

However, I’m encountering an issue where, when viewing as the role, some data unrelated to 'Tango Ltd' is still visible. Interestingly, when I apply the department filter (with 'Tango Ltd' being the only option available), the data view corrects itself and only shows the relevant information.

Could anyone kindly guide me on how to resolve this issue? I would greatly appreciate your help. Thank you in advance!

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @IshaqAttah ,

I created a simple table and set the filter of department equals Tango Ltd in Manage Roles, and only the relevant data is displayed in the view, but I added the department column in another table, which also contains Tango Ltd data, and the irrelevant data is also displayed in the Table_4 view.

So could you please show me a screenshot of your report view, table view, and model view?

Test1:

vyetonggumsft_0-1724150074315.png

Test2:

vyetonggumsft_8-1724150157998.png

Table View:

e2e_database InventoryDetailsMw Table:

vyetonggumsft_2-1724150074323.png

Table_4:

vyetonggumsft_9-1724150181114.png

Model View:

vyetonggumsft_10-1724150181115.png

Best Regards,

Sunshine Gu

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @IshaqAttah ,

I created a simple table and set the filter of department equals Tango Ltd in Manage Roles, and only the relevant data is displayed in the view, but I added the department column in another table, which also contains Tango Ltd data, and the irrelevant data is also displayed in the Table_4 view.

So could you please show me a screenshot of your report view, table view, and model view?

Test1:

vyetonggumsft_0-1724150074315.png

Test2:

vyetonggumsft_8-1724150157998.png

Table View:

e2e_database InventoryDetailsMw Table:

vyetonggumsft_2-1724150074323.png

Table_4:

vyetonggumsft_9-1724150181114.png

Model View:

vyetonggumsft_10-1724150181115.png

Best Regards,

Sunshine Gu

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors