We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
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
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 53 | |
| 38 | |
| 33 | |
| 17 | |
| 17 |
| User | Count |
|---|---|
| 67 | |
| 62 | |
| 38 | |
| 34 | |
| 22 |