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
Suppose this is my table called "People"
I want to set up a role that says "You can only see data about other people from the same country as yours".
Is there not a simple DAX for this?
[Country] = <the same>
Solved! Go to Solution.
You would need to use something like LOOKUPVALUE(...) = [Country] where your LOOKUPVALUE would use the Name to lookup the user's country.
@Anonymous
You may refer to the following post.
You would need to use something like LOOKUPVALUE(...) = [Country] where your LOOKUPVALUE would use the Name to lookup the user's country.
The report has email and uses USERPRINCIPAL() extensively. Does that make it easier?
@Anonymous
You may refer to the following post.
You would need to use something like LOOKUPVALUE(...) = [Country] where your LOOKUPVALUE would use the Name to lookup the user's country.
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 |
|---|---|
| 97 | |
| 74 | |
| 51 | |
| 50 | |
| 46 |