Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
I need to filter my table by using the managing roles. When I try to use the DAX command in a calculated column, it works perfectly fine. However, in my manage roles the DAX is not working. Basically, I want to filter the Brand = "DEF" with their ItemId that Ends with "G". In manage roles, the brand wouldn't even show up in the report when role testing conducted.
Here is my DAX command for the calculated column
IF([Brand]="ABC" || AND([Brand]="DEF",RIGHT([ItemId],1)="G"),TRUE(),FALSE())
DAX command for manage role
[Brand] in {"ABC"} || AND([Brand]="DEF",RIGHT([ItemId],1)="G")
Solved! Go to Solution.
Hi. It turns out that the table used was linked by the original/source table so the command used was still correct. Thanks 🙂
@Anonymous , this seems fine. Hop you have selected role to test
https://www.tallan.com/blog/2018/04/10/row-level-security-in-power-bi-part-1-roles-and-users/
Hi @amitchandak yes I do select the role. However, brand DEF does not appear in the report when I select and test the role. I need to filter multiple field which comprehend Brand must be DEF AND the item code must ends with G.
Hi. It turns out that the table used was linked by the original/source table so the command used was still correct. Thanks 🙂
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
11 | |
10 | |
10 | |
9 | |
8 |
User | Count |
---|---|
17 | |
13 | |
12 | |
11 | |
9 |