Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!
Hello guys,
I need help... I'm including the security function below to restrict access to users.
[FILIAL] IN (LOOKUPVALUE(TBL_ACESSO[FILIAL], TBL_ACESSO[USUARIO], "user x") )
But it generates an error because the function returns more than a value
But I need to release more than one branch for a user, as I do for the function to return more than one row value ?
Does anyone know what I can do ?
thank you!
LR Feltz
It seems that you want the role members can only see the data for those FILIAL have USUARIO of “user x”.
Why not write the DAX expression as below?
Best Regards,
Herbert
Vote for your favorite vizzies from the Power BI World Championship submissions!
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 56 | |
| 53 | |
| 40 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 122 | |
| 108 | |
| 44 | |
| 32 | |
| 26 |