This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
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!
Solved! Go to Solution.
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:
Test2:
Table View:
e2e_database InventoryDetailsMw Table:
Table_4:
Model View:
Best Regards,
Sunshine Gu
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:
Test2:
Table View:
e2e_database InventoryDetailsMw Table:
Table_4:
Model View:
Best Regards,
Sunshine Gu
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 32 | |
| 23 | |
| 22 | |
| 20 | |
| 15 |
| User | Count |
|---|---|
| 64 | |
| 41 | |
| 27 | |
| 22 | |
| 20 |