The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
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"}
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
User | Count |
---|---|
20 | |
18 | |
18 | |
18 | |
14 |
User | Count |
---|---|
42 | |
35 | |
23 | |
20 | |
20 |