Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe'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 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"}
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 |
|---|---|
| 9 | |
| 6 | |
| 3 | |
| 2 | |
| 2 |
| User | Count |
|---|---|
| 23 | |
| 14 | |
| 10 | |
| 6 | |
| 5 |