Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hello
I have a table CostReport_Layout and within there is a column bud2_line . I want to restrict users so they cant see the bud2_lines that relate to Salary information.
[bud2_line] <> {"Salaries"} but for multiple values none of the below work. How would you do this
[bud2_line] <> {"Salaries", "Social security, pension and medical"}
[bud2_line] not in {"Salaries", "Social security, pension and medical"}
[bud2_line] not {"Salaries", "Social security, pension and medical"}
Thanks
Paul
Solved! Go to Solution.
not [bud2_line] in {"Salaries", "Social security, pension and medical"}
Hi @Anonymous ,
Please try below steps:
1. below is my test table
Table:
2. add a table visual with field
3. create a role with below dax formula
not( [bud2_line]) in {"Salaries", "Social security, pension and medical"}
3. view as new role
Please refer the attached .pbix file.
Best regards,
Community Support Team_Binbin Yu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Many thanks for your help - that works
Hi @Anonymous ,
Thanks for your feedback.
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best regards,
Community Support Team_Binbin Yu
not [bud2_line] in {"Salaries", "Social security, pension and medical"}
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 6 | |
| 5 | |
| 4 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 25 | |
| 21 | |
| 10 | |
| 8 | |
| 8 |